Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Keep track of remote host connections in Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Keep track of remote host connections in Terminal
Authored by: jeremyp on Sep 22, '04 05:43:28AM
A lot of what this script does is emulating the existing ssh config file which resides in .ssh/config and is fully documented on the ssh_config(5) man page. Here is a fragment of my own ssh config file

ForwardX11 yes
host kipadev
user jeremy
host tornado
user kroot
host andy
LocalForward 6025 10.0.1.106:25
HostName andy.home.jeremyp.net
host andy-ext
user jeremyp
host andy-fwd
user jeremyp
HostName andy-ext
LocalForward 6389 10.0.1.102:3389
LocalForward 2401 10.0.1.100:2401
LocalForward 6080 10.0.1.106:80
LocalForward 6025 10.0.1.106:25
LocalForward 8443 carr.34sp.com:8443
Most of the entries consist of a host line and a user line to specify which user to log in as on that host. andy-fwd is an alias for andy-ext but with lots of port forwarding.

[ Reply to This | # ]
Keep track of remote host connections in Terminal
Authored by: ryan2 on Sep 23, '04 04:29:25AM

Pretty much, the only difference I guess would be that this can do telnet sessions too. I have some boxes that don't have ssh on them and need telnet to connect to them.



[ Reply to This | # ]