Results 1 to 3 of 3
Hello all,
I have the following network setup.
* A static IP from my ISP
* A router/modem in my home
* Two machines: MachineA and MachineB connected to the ...
- 03-01-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 59
Running SSH on two separate machines?
Hello all,
I have the following network setup.
* A static IP from my ISP
* A router/modem in my home
* Two machines: MachineA and MachineB connected to the router
Currently, the router is setup so that ports 80, 21, and 22 all forward to ports 80, 21, and 22 on Machine A.
However, I would like to be able to SSH into Machine B as well. What is the best way to accomplish this? I figured I would setup Machine B's SSH server to listed on a random port like 2995. So then I would configure my router so that incoming requests from port 2995 are forwarded to port 2995 on Machine B.
Does that make sense? Is that the proper way to do it?
Thanks!
- 03-01-2011 #2
The proper way would be to establisch a VPN server on the router.
But this may be overkill for just two machines and only ssh.
So yes, either create portforwarding on a non-standard port
or just hop from machine A to machine BYou must always face the curtain with a bow.
- 03-01-2011 #3
I have two Linux boxes at home, both running sshd. I forwarded all my ports to one machine, and simply SSH into that system. When I need to access the other machine, I then SSH into it from the one with the forwarded ports


Reply With Quote