Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,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 whomever 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 Tue, Apr 29 2008 at 5:40PM PDT
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 | # ]