News for hackers. Stuff that matters.
Re:SSH key and passwordless login basics for developers by Millennium on Thursday October 25, 2012 @07:39AM (#4697198)
It's useful stuff.

What I'd really like to see, though, is a tutorial for using SSH keys from a thumbdrive in a way that doesn't depend on Gnome or KDE.

Re:SSH key and passwordless login basics for developers by thaumaturgy on Thursday October 25, 2012 @07:43AM (#4697208)
"ssh -i /path/to/key" seems like it would do what you want, which makes me think I don't understand the problem you're trying to solve.
Re:SSH key and passwordless login basics for developers by viraptor on Thursday October 25, 2012 @11:18AM (#4697929)
If you're already running ssh-agent for your session, just do `ssh-add /path/to/the/key` - now it will be picked up automatically. If you want to do this automatically, it would require something waiting with inotify on the mount point, or some udev magic...
Re:SSH key and passwordless login basics for developers by ta12121 on Thursday October 25, 2012 @09:33AM (#4697557)
It might be useful, but it's trivially obtainable by anyone who needs it by googling, and irrelevant to anyone who isn't looking for it at the time.
Re:SSH key and passwordless login basics for developers by chuppo on Thursday October 25, 2012 @07:42AM (#4697206)
ssh doesnt depend on Gnome or KDE, what are you talking about?

These articles are spam. They are collections of snippets from various man pages and other older resources on the internets. If you think theyre useful, go back to the study room, youll not advance your skills by expecting "tutorials" on how to use ssh without kde(!?). Your asking the wrong questions, and will be led down a fruitless path.

Re:SSH key and passwordless login basics for developers by thaumaturgy on Thursday October 25, 2012 @07:44AM (#4697211)
Your tone is not acceptable here.
Re:SSH key and passwordless login basics for developers by Millennium on Thursday October 25, 2012 @09:48AM (#4697630)
The problem isn't SSH itself, but the tutorials out there tend to assume that you're using GNOME or KDE (or, more to the point, their automount systems). If you're not running either one, you're left trying to figure out how to deal with that problem.
Re:SSH key and passwordless login basics for developers by thaumaturgy on Thursday October 25, 2012 @10:26AM (#4697753)
Plug in the flash drive, then "tail -n 20 /var/log/syslog" (on most systems, and assumes the system isn't very busy), and look for the notification of the plug-in event with the device node, e.g. /dev/sdb1.

Then, "mount /dev/sdb1 /media/flashdrive", replacing the device node with whatever you see in syslog, and the mount point with the appropriate folder on your filesystem (really, whatever you want it to be -- you can mount something to your home folder if you like). 'mount' should be able to auto-detect the filesystem on the device unless you're running a really old Linux or BSD.

Does that help?