ssh tunnels question
Need help - I'm having trouble ssh tunneling through two servers to get to my database. Server3 is restricted to all except from server2 and I'm at server1.
So on server2 i do
ssh -L1434:server2:1435 -l user server2
- this works i'm able to connect to the db on server3 from server2. But on server3 i'm trying to
ssh -L1433:server2:1434 -l user server2
- and I get 'connection refused'. I tried telnet server2 1434 from server3 and i get 'connnection refused'.
I checked the firewall is open on server 2 - firestarter confirms that port 1434 is open to everyone. I'm not sure what I'm doing wrong, but I have a hunch that maybe firestarter on server2 is not working correctly, because it also shows that port 22 is open to everyone and I can telnet server2 22 and I'm able to connect. Any ideas?
so on server 2 you ssh to server 2 forwarding a port on server 2 to .... server 2??? huh?
can you SSH between the two servers? Sounds like not, in which case all this talk of tunneling is pointless.
Yes I can ssh between servers.
n/m I solved the problem.
|All times are GMT -5. The time now is 02:02 AM.|