On 2017-07-01 15:52, Cameron Simpson wrote:
On 01Jul2017 07:48, William Oliver <vendor(a)billoblog.com>
wrote:
> On Fri, 2017-06-30 at 18:35 -0700, Rick Stevens wrote:
>> Uh, mount the USB stick somewhere and use something like:
>> ssh -i /path/to/usb/stick/name-of-your-identity-file user@host
>>
>> e.g.
>> mkdir ~/usbstick
>> mount /dev/sdb1 ~/usbstick
>> ssh -i ~/usbstick/my_id_rsa_file rick(a)somehost.tld
If the mountpoint is always the same you can make this easier with a clause in
your .ssh/config file, eg:
Not very likely when I'm around, it seems. {^_-}
...
Oh yes: if you make a travelling key, it should be different to your
home
machine's key. That way it can be revoked (==> remove the public key from the
relevant authorized_keys files).
Gee, thanks for that idea. I didn't know that was possible. I still feel
uncomfortable about sticking a dongle of mine into a foreign machine. I suppose
if I could find a batch of small dongles I could set up "one time dongles" to
cover that. Thanks for the information. I just got up and I have had my daily
required learning experience. I guess I can go back to bed. Seriously, thanks.
{^_-}