PDA

View Full Version : [ubuntu] ssh problem


sjm-ec
April 22nd, 2008, 09:57 AM
I'm having trouble with sshd not responding to login attempts from outside the local subnet. I am trying to log into a machine at a different site across a VPN connection.

I try ssh directly and it times out.

I ssh into another (RedHat based) machine at the site and use that to ssh into the target machine and it works.

There is no firewall on the target machine (iptables is completely open).

The routing is fine (after sshing through the other machine into the target machine I can ping back to the box I am on.)

It looks like someone else had this problem, but there was no resolution:
http://ubuntuforums.org/showthread.php?t=547726

Do you have any pointers as to where to look for the restriction?

Joeb454
April 22nd, 2008, 09:59 AM
It could be the restrictions on the machine you are using, I have to use a similar method at University - ssh to the server to ssh to my home server :)

sjm-ec
April 22nd, 2008, 10:44 AM
I don't think it's my machine.

From my machine (192.168.129.13) I can ping the target (192.168.138.203) but have to first ssh into another remote machine (192.168.138.3) before jumping from there to the target machine.

On my machine I have an open OUTPUT chain for iptables and a general ACCEPT for RELATED and ESTABLISHED connections in the INPUT chain.

sjm-ec
April 22nd, 2008, 11:56 AM
Well, I think it was the VPN firewall on the remote end. I was able to move the target machine to another IP in the same range as the one I was able to have direct access to and can now ssh directly to that machine. Thanks.