1747985 Members
5023 Online
108756 Solutions
New Discussion юеВ

Re: sftp not connecting.

 
Michal Kapalka (mikap)
Honored Contributor

Re: sftp not connecting.

hi,

could you use the localhost on the ssh server instead of the public IP ??

mikap
fizan
Super Advisor

Re: sftp not connecting.

hi ,

Request for subsystem 'sftp' failed on channel 0
Connection closed

no its not connecting on local host also mikap.
Michal Kapalka (mikap)
Honored Contributor

Re: sftp not connecting.

hi,

ok so the problem is on ssh server that should provide a sftp.

mikap
fizan
Super Advisor

Re: sftp not connecting.

but from this sftp serever tat is 192.168.0.25 i am able to connect to all other servers but i cant sftp to this server from other servers..
Michal Kapalka (mikap)
Honored Contributor

Re: sftp not connecting.

hi,

check the permission :

section : sftp problems

http://www.brandonhutchinson.com/Miscellaneous_UNIX_notes.html

mikap
fizan
Super Advisor

Re: sftp not connecting.

permissions are already correct:

drwxr-xr-x 2 root root 4096 May 22 2006 libexec
Nick W
Frequent Advisor

Re: sftp not connecting.

fizan,

When performing your test ssh connection to localhost, it would also be helpful to enable debugging for the server-side in addition to the client-side (/usr/sbin/sshd -ddd) - you may also want to turn up the debug level on the client-side too, to get more detail whilst troubleshooting (ssh -vvv localhost)

Hope this helps.

Regards,
Nick 'dubya'