SCP/SFTP Brain Fart

Tony Holmes tony at crosswinds.net
Thu Jun 19 13:43:38 UTC 2008


> It seems that your shell profile executes stty(1) even
> for non-interactive shells.  That is wrong.  Make sure
> that you shell profiles and rc files do not call stty
> or produce any output for non-interactive sessions.
> Such output confuses scp.

So obvious!

The offender:

.login

stty erase 

This was a carry over from ages ago when my chosen terminal s/w didn't
support the backspace mapping.

Thank you and I will bear the pointy hat proudly!

-- 
Tony Holmes

Ph: (416) 993-1219

Founder and Senior Systems Architect
Crosswinds Internet Communications Inc.


More information about the freebsd-net mailing list