On 06/30/2017 06:14 PM, William Oliver wrote:
> On Sat, 2017-07-01 at 10:23 +1000, Cameron Simpson wrote:
>> [snip]
>>
>> If you cannot set up a key on the foreign machine ahead of time, yes
>> stick your 
>> "travelling" key on a USB stick and use it. That way you can revoke
>> it if 
>> somehow it gets comprimised.
>>
>> Cheers,
>> Cameron Simpson <c...@zip.com.au>
>>
> 
> You know, I don't like to sound stupid, but I've tried to set this up,
> and I've never gotten it to work reliably. Inevitably I get frustrated
> and go back to password based ssh.  Is there an Idiot's Guide to
> setting this up somewhere?

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 r...@somehost.tld

I believe the identity file must still have the right permissions (0600
or "rw-------" and that it's the identity file, NOT the public identity
key file.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-    "Hello. My PID is Inigo Montoya.  You `kill -9'-ed my parent    -
-                     process.  Prepare to vi."                      -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to