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


Click here to return to the '10.5: How to use ssh using 'Back to My Mac'' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: How to use ssh using 'Back to My Mac'
Authored by: aradke on Apr 29, '08 05:40:06PM
Use the following format for connecting as a differnent username:
ssh user.name@hostname.username.members.mac.com.
If you do this regularly and wish to save having to use the username all the time for ssh and scp then create a file called ~/.ssh/config with contents like the following:
Host hostname.username.members.mac.com.
User user.name

Host host2.some.domain.com.
User username2
Port 2222
LocalForward 3389 internal-pc:3389
The second host in this file also includes using a port other than 22 and allowing access to a Windows computer called internal-pc with Remote Desktop by connecting to localhost with the Remote Desktop Client.

[ Reply to This | # ]