ftp via ssh2 not working with fc2

Christopher K. Johnson ckjohnson at gwi.net
Fri May 21 11:35:27 UTC 2004


slim wrote:

>Getting listing ""...
>STATUS:>  	Initializing SFTP2 module...
>STATUS:>  	Connecting to sftp server 192.168.1.102:22 (ip =
>192.168.1.102)...
>ERROR:>   	A timeout occurred.
>ERROR:>   	Can't connect to 192.168.1.102:22. Socket error = #-1.
>STATUS:>  	Waiting 30 seconds...
>
>I can ssh with telnet ssh and can ping all boxes
>  
>
gftp in ssh2 mode from FC1 box to FC2 box works fine for me.

The socket error timeout looks like firewall issue perhaps.
What did you mean by "ssh with telnet ssh"?  Are you trying to say you 
can connect to 192.168.1.102 using ssh, just not sftp?
If that is the case then the firewall settings on 192.168.1.102 should 
not be the problem.
Please clarify what you tested.

For more information what do the following produce:
    chkconfig --list sshd
    chkconfig --list iptables
    cat /etc/sysconfig/iptables
    grep sftp /etc/ssh/sshd_config

-- 
-----------------------------------------------------------
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021






More information about the fedora-list mailing list