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


Click here to return to the 'How to use ssh keys on a USB drive' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to use ssh keys on a USB drive
Authored by: mnb on Feb 23, '05 04:16:02PM

instead of changing your system config (which will be a problem for multi user systems and less obvious to change back), you should be able to just do this:

cd ~/
mv .ssh .ssh-orig
ln -s .ssh/ /Volumes/NameOfUSBMount/.ssh/

This assumes you have stored the files in a directory named .ssh at the root level of the USB Drive.

If you want to revert to normal use...

rm.ssh ; mv .ssh-orig .ssh



[ Reply to This | # ]
How to use ssh keys on a USB drive
Authored by: Shawn Parr on Feb 23, '05 11:43:58PM

You copy ssh_config from etc to ~/.ssh so that it only affects you. Not the other users. You shouldn't change /etc/ssh_config as that will probably be overwritten by a future OS update.



[ Reply to This | # ]