Re: ftp via ssh2 not working with fc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2004-05-21 at 06:35, Christopher K. Johnson wrote:
> 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

Hi, Thanks for the reply. Sorry for the lack of info, yes I can ssh into
the boxes just fine. just not ftp via ssh2:22 here is the info you asked
for, Thanks again....
[root@shovelhead root]# chkconfig --list sshd
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@shovelhead root]# chkconfig --list iptables
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@shovelhead root]# cat /etc/sysconfig/iptables
cat: /etc/sysconfig/iptables: No such file or directory
[root@shovelhead root]# grep sftp /etc/ssh/sshd_config
Subsystem       sftp    /usr/libexec/openssh/sftp-server





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux