Date: 09 Feb 2004 20:35:56 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Subject: Re: SCP fails while ssh works... Message-ID: <44d68nogw3.fsf@be-well.ilk.org> In-Reply-To: <p06020406bc4db3f44df8@[128.113.24.47]> References: <20040209210854.34037.qmail@web60406.mail.yahoo.com> <p06020406bc4db3f44df8@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn <drosih@rpi.edu> writes: > At 1:08 PM -0800 2/9/04, twig les wrote: > >Hey all, I have to identical boxes running 4.6 and all of a > >sudden one stopped taking SCP even though it still takes ssh > >connections. > > This may not help you at all, but every time I've had a problem > where scp fails and ssh works, it has been because the userid on > the remote side printed out some extra text while it was logging > in. Something like 'Welcome to ....' in the .bashrc, for instance. The solution to that type of problem is to have the text be printed only on interactive sessions. e.g.: if tty -s; then echo 'executing .bashrc' fi I thought once defined shell functions to do that for me, but they aren't in my startup files now...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44d68nogw3.fsf>