SSH Repeater
#1
Posted 24 March 2008 - 11:21 PM
Was also considering setting one server up as the main host, then adding specific logons for the others. In other words, if I log on as the user "openbsd", then automatically connect to the openbsd server from there -- the initial server is just a pass-through connection. Then I thought about it some more and figured there must be an easier way, because that just sounds too freaking stupid.
As an example, the UltraVNC software has a repeater program that basically acts as a connection forwarder. You can open one port for VNC, and provide the LAN target... the repeater automatically makes the connection to the target box. Something like that would be ideal.
Of course, it probably compromises the security of SSH somewhat, but since it would just be me coming in (ideally), I'm not really concerned that I might be snooping on myself.
#2
Posted 25 March 2008 - 01:23 AM
#3
Posted 25 March 2008 - 08:07 AM
Some way of determining which box I want to go to at run-time would be ideal:
# ssh debian.mynetwork.example.com
# ssh bsd_box.mynetwork.example.com
# ssh wfw311.mynetwork.example.com
Something like that. I guess that the individual servers don't have to all be running port 22, once I'm onto the LAN it shouldn't matter.
#4
Posted 25 March 2008 - 05:50 PM
#5
Posted 25 March 2008 - 07:29 PM
First, have your main box act as just a netaccess server if you will and ssh to other devices once in that box...or
If you have more than just one public IP from your ISP, don't use NAT, configure each box with one of the public IP's and the a.server.com, b.server.com, c.server.com will all point to their respective public IP's.
If you don't want to do either of those then you will have to do separate port numbers. There is no getting around that. That is just how NAT works.
#6
Posted 25 March 2008 - 07:51 PM
The way I do it is to ssh into my server at work and then ssh into any other machine on the network from there.
Yeah... looking like that's probably the best bet. No reason I can't do it that way, I suppose.First, have your main box act as just a netaccess server if you will and ssh to other devices once in that box...or
How elegantly low-tech. :)
#7
Posted 25 March 2008 - 08:24 PM
#8
Posted 25 March 2008 - 09:30 PM
No need to answer if it's that straightforward, I'll give it a try in a day or so here either way.
#9
Posted 25 March 2008 - 09:52 PM
BinRev is hosted by the great people at Lunarpages!











