Re: unable to sftp



On Tue, 16 Jan 2007 13:24:34 -0800, donkarnash wrote:

Richard,
Here is the confirmation about sub system in /etc/ssh/sshd_config

# sftp subsystem
Subsystem sftp /usr/lib/ssh/sftp-server

#l s -l /usr/lib/ssh/sftp-server
-r-xr-xr-x 1 root bin 97272 Feb 7 2006
/usr/lib/ssh/sftp-server

I have restarted the server and sshd but no luck.

There is a couple of things I don't 'get' about your post. You say you
installed openssh but the log you show is from Sun's ssh. Are you running
the correct daemon? Perhaps you should have run /etc/init.d/openssh start.
If that isn't the issue then one other thing is that you say you ran the
command
sftp -v sshd@server
but you surely shouldn't be connecting as sshd which is a restricted
account used only to run the sshd daemon. Any attempts to connect to this
account will surely fail since it doesn't have a valid shell.

JohnK
.



Relevant Pages

  • Re: unable to sftp
    ... I have restarted the server and sshd but no luck. ...
    (comp.unix.solaris)
  • Re: unable to sftp
    ... I have restarted the server and sshd but no luck. ...
    (comp.security.ssh)
  • Strange problems with sshd under fc3 - Rejecting all users but one
    ... I am having an odd problem with OpenSSH sshd on FC3. ... because not in AllowUsers". ... When I installed the server, I immediately created a new user account, ... If it is not defaulting to allow all, why let the original account in? ...
    (Fedora)
  • Re: SSH ignores locked accounts
    ... >Locking an account's password isn't the same thing as locking an account. ... sshd does ... not check for locked accounts itself, ...
    (comp.security.ssh)
  • OpenSSH and PAM LDAP
    ... I can ssh in with a user who has a local account using ... I can not ssh login as an LDAP ... #sshd auth requisite ...
    (SSH)