ftp via ssh2 not working with fc2
slim
vslim at insightbb.com
Fri May 21 14:02:34 UTC 2004
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 at shovelhead root]# chkconfig --list sshd
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root at shovelhead root]# chkconfig --list iptables
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root at shovelhead root]# cat /etc/sysconfig/iptables
cat: /etc/sysconfig/iptables: No such file or directory
[root at shovelhead root]# grep sftp /etc/ssh/sshd_config
Subsystem sftp /usr/libexec/openssh/sftp-server
More information about the fedora-list
mailing list