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: phoyd on Sep 12, '07 08:15:50AM
Hmm. "Move around" is the last thing you should want to do with a file that contains your private key. This is probably even worser than moving around a file which contains your password. What's wrong with keeping the identity file in $HOME/.ssh/id_dsa like everyone else does? Also, ssh bob@chimpy.sampsa.com -i $(dirname $0)/bob.dsa is what you need if you want to address a file relatively to the location of the script.

[ Reply to This | # ]