1
I have two Linux servers with static IP addresses 192.168.0.200 and 192.168.0.201. Both machines are connected to my router which is set up to forward SSH Port 22 to 192.168.200.
I have PuTTY'd into 192.168.0.200. How can I access files on 192.168.0.201. Note that iptables and SeLinux currently are not active.
Thanks Nathan. I am at work now, and my servers are in my house. So, I am outside of my network. When PuTTY'd into 192.168.0.200, I just tried
scp 192.168.0.201:/ ./
, and I came close. Any suggestions? Is this what you mean by SSHing into the 2nd server? – user1032531 – 2013-07-15T18:48:03.3271Ah ha!, as easy as
ssh 192.168.0.201
! – user1032531 – 2013-07-15T18:50:39.020Actually, maybe not as easy as I thought. I am still stuck on 192.168.0.200. – user1032531 – 2013-07-15T19:11:56.130
Try
ssh user@192.168.0.201
should then prompt for password. Otherwise defaults to whatever user your logged in locally with. – nathangiesbrecht – 2013-07-15T22:03:16.140Got home and tried to ssh from one server to another. Worked perfectly. For some reason, if you are PuTTYd into one, attempting to PuTTYing into another keeps you stuck in the first server. – user1032531 – 2013-07-16T13:05:25.267
Glad to hear it. Could you mark this as the selected answer then? Thanks! – nathangiesbrecht – 2013-07-16T16:55:27.017
No, this doesn't work with PuTTYd, only ssh. – user1032531 – 2013-07-30T13:23:25.623
Putty is an SSH client. Make sure you're attempting to connect using the proper port. – nathangiesbrecht – 2013-07-30T17:33:12.243
I promise I tried it first and it didn't work! At least I thought I did, but obviously had something wrong. I think the 2nd server might have been down when I was trying to do so. Thanks for the help. – user1032531 – 2013-07-31T00:35:28.850