The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Networking (http://hintsforums.macworld.com/forumdisplay.php?f=14)
-   -   Can't SCP/SFTP to local Linux servers on wireless (http://hintsforums.macworld.com/showthread.php?t=64313)

jshea 04-17-2007 11:44 AM

Same problem: Cause was .tcsh/iterm startup script
 
I had the same problem, and I found the cause was in my .tcshrc startup scripts. In particular, I was using a script that I think was supplied with iTerm.app or that I found by reading someone else's webpage about configuring iTerm.app. The script sets the title bar in iTerm.app. I changed my .tcshrc to only call the script when in iTerm by doing the following:

if ($TERM_PROGRAM == "iTerm.app") then
source ~/.tcsh/iterm
endif

I hope this helps someone.

joncraven 04-30-2007 04:32 AM

Well, I never did figure out what was causing the problem for me, but I did a full Linux re-install over the weekend and now it works fine. So it must have been something wrong with the Linux config (for what that's worth).

mbpstick 05-28-2007 08:18 PM

I encountered the same problem and discovered I had an 'echo' (used for setting titles in screen) on the remote server that was causing the problem. In .bashrc I had: echo -ne "\ek`hostname`\e\\" ... when this line was removed, scp worked again to my iBook over wireless.

Tomas81 01-19-2009 06:51 PM

Quote:

Originally Posted by mbpstick (Post 382118)
I encountered the same problem and discovered I had an 'echo' (used for setting titles in screen) on the remote server that was causing the problem. In .bashrc I had: echo -ne "\ek`hostname`\e\\" ... when this line was removed, scp worked again to my iBook over wireless.

I had the same problem with my MacBook Pro. I just commented the lines echoing the window title in the .tcshrc file of the remote server and the problem was solved.

Regards


All times are GMT -5. The time now is 07:13 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.