Shlomi Fish wrote:

>Hi Aaron!
>
>If ssh is working then scp and SFTP will also work.
>
Totally off-topic for this thread, but I'll just mention that this is
not always the case.

The most common failure that causes SSH to work but SFTP and SCP to fail
is a .bashrc script that issues output even when the shell is
non-interactive. If you get this failure, do try to run:
ssh [EMAIL PROTECTED] echo hi

If you get any output at all before the "hi", this is your problem. Make
sure that all output commands in your shell init scripts is inside 'if [
! -z "$PS1" ]'. This way, if the shell is non-interactive, the commands
will not run and scp will not get confused.

          Shachar

-- 
Shachar Shemesh
Lingnu Open Source Consulting ltd.
Have you backed up today's work? http://www.lingnu.com/backup.html


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to