On Wed, 26 Feb 2003 15:08:17 -0500, Christian Campbell wrote
> I am able to ssh to a RedHat 8.0 machine on our network, but when I 
> try to SFTP, I get the following:
> 
> [EMAIL PROTECTED] bin]# sftp -l ccampbell atlas.brueggers.com
> [EMAIL PROTECTED]'s password: 
> bash: line 1: sftpserv: command not found
> sftp> quit
> [EMAIL PROTECTED] bin]#
> 
> Any ideas?
> 
> I have the SFTP server enabled in /etc/ssh/sshd_conf.  My OpenSSH 
> version is
> 3.4p1 release 2.  sftp-server exists in /usr/libexec/openssh
> 
> It seems like SFTP is running, and letting me log in, but then it 
> seems to have issues.  I've have tried this both from a command line,
>  and from a windows (yeah...) GUI SFTP client.  

I think it is more likely that ssh is running and then unable to connect to
the sftp server. What do you have in your /var/logs?  Are you sure the path
and spelling is correct in sshd_config (Subsystem       sftp   
/usr/libexec/openssh/sftp-server)?  What about permissons on the server?

This is the key:  > bash: line 1: sftpserv: command not found

Why can't bash find the command?

[snip the rest]



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
  • SFTP Christian Campbell
    • Mike Vanecek

Reply via email to