Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > scp not working

scp not working
Thread Tools
Dedicated MacNNer
Join Date: Apr 2001
Location: Columbia, MD
Status: Offline
Reply With Quote
Jan 16, 2004, 03:20 PM
 
I am running 10.2.8. I can ssh into my machine. While on it, I can scp from another machine to this one, but not the other way. I also can not scp from this machine to this machine.

When I attempt, it asks me for my password, then simply echoes out '/bin/tcsh' but does not transfer anything.

Any suggestions
     
Senior User
Join Date: Feb 2003
Location: Atlanta
Status: Offline
Reply With Quote
Jan 16, 2004, 05:48 PM
 
Originally posted by rogerkylin:
I am running 10.2.8. I can ssh into my machine. While on it, I can scp from another machine to this one, but not the other way. I also can not scp from this machine to this machine.

When I attempt, it asks me for my password, then simply echoes out '/bin/tcsh' but does not transfer anything.

Any suggestions
Need additional details. What is the other machine and what is it running? What is the syntax you are using?
2.16 Ghz Core 2 Macbook, 3GB Ram, 120 GB
     
Dedicated MacNNer
Join Date: Apr 2001
Location: Columbia, MD
Status: Offline
Reply With Quote
Jan 16, 2004, 06:24 PM
 
I can scp between all of the other machines i have access to:

300 MHz iBook, 10.2.8
533 MHz G4, 10.2.8 ( the problem one)
dual-2 G5, 10.3

the syntax is not the problem because it works for everything except files copied from the g4, but:

on ibook, for instance,

scp *.c g4:~/

this works on all but the g4
     
Dedicated MacNNer
Join Date: Apr 2001
Location: Columbia, MD
Status: Offline
Reply With Quote
Jan 16, 2004, 06:30 PM
 
alright, i stumbled across the problem which i found quite surprising. I mentioned in the first post it displayed '/bin/tcsh'. Well as it turns out, when doing some debugging before, I'd simply added an 'echo $SHELL' statement in my .cshrc file. When I deleted it, scp worked fine. I guess scp does not like anything echoed when it logs in....
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:42 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2