Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two Linux servers with static IP addresses and 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 How can I access files on Note that iptables and SeLinux currently are not active.

share|improve this question
up vote 1 down vote accepted

As long as SSH is installed on the second server, you should be able to just SSH into it's IP address ( on port 22, since both machine's are on the same network.

Unless you're asking about how to access the second machine from outside of the network, ie. from another location. In that case you'll need to configure the second machine to listen for SSH connections on another port (ie. 222) and have your router forward port 222 to the second server.

However, it might be simpler to just SSH into the 1st server, then SSH to the 2nd server from that session.

share|improve this answer
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, I just tried scp ./, and I came close. Any suggestions? Is this what you mean by SSHing into the 2nd server? – user1032531 Jul 15 '13 at 18:48
Ah ha!, as easy as ssh! – user1032531 Jul 15 '13 at 18:50
Actually, maybe not as easy as I thought. I am still stuck on – user1032531 Jul 15 '13 at 19:11
Try ssh user@ should then prompt for password. Otherwise defaults to whatever user your logged in locally with. – nathangiesbrecht Jul 15 '13 at 22:03
Got 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 Jul 16 '13 at 13:05

I word. SCP. You can use similar command line arguments as the good ole cp, but this will invoke the copy process over ssh using either the native scp client on the remote end or sftp.

It simly uses the syntax like this:

scp user@host:/path/to/file /destination/folder


scp /source/folder user@host:/path/to/destinaion

Of course, you can also use the -r flag to copy entire directories.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .