Re: attempts to hack in?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <cs@xxxxxxxxxx>
>>
> 
> 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 rick@xxxxxxxxxxxx

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    ricks@xxxxxxxxxxxxxx -
- 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux