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

Click here to return to the '10.5: How to use screen sharing remotely and securely' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: How to use screen sharing remotely and securely
Authored by: clith on Mar 02, '09 06:06:30PM
If you are going to do this kind of thing often, you should edit the file ~/.ssh/config and put something like this in it:
Host ext
Port 22
User username
LocalForward 5999
Now all you have to do is "ssh ext" and all the forwarding will be done automatically every time. The host "ext" can be anything you want. The HostName should be either the IP address or the domain name of the machine you are ssh'ing into. Of course, replace username with the valid user id. If you use ssh-keygen to generate a public/pricate key pair, you won't even have to type in a password. *Boom*. it's that easy.

[ Reply to This | # ]