7

SSH using keys in external storage - permissions?

view full story
linux-howto

http://unix.stackexchange.com – I have a set of SSH keys to login to accounts and servers. However, ever since I moved my main work profile to a USB drive (for sync and ease of use among other reasons) I have been unable to directly use the SSH keys in the profile for authentication, having to create local copies instead. Normal SSH workflow usually goes ssh-add $HOME/.ssh/id_server_key ssh username@domain Which works without problems. However, to prevent each machine from having a copy of my keys I moved them to an xexternal drive, USB formatted as vfat. Then workflow should become like this: ssh-add /run/media/myse (HowTos)