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


Click here to return to the 'Create self-contained SSH key scripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create self-contained SSH key scripts
Authored by: archdata on Sep 12, '07 08:44:36AM
The above script works like a charm.

Just a small note - the ALIAS (for those that don't know - like me for about 20 minutes) is the Name you want to give the computer you are connecting to.

Therefore, to connect to your home computer called "FooBar" you could use the command

installSSHkey USERNAME (Your name) HOST (www.example.com) ALIAS (FooBar)

To use this alias you can now type "ssh FooBar" on the command line and you are connected to your home computer.

The alias can be whatever you want it to be as long as it makes sense to you.

[ Reply to This | # ]