public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] SSH login with both key AND password?
@ 2009-01-07 23:28 Paul Hartman
  2009-01-07 23:45 ` [gentoo-user] " Nikos Chantziaras
  2009-01-08  0:11 ` [gentoo-user] " Dave Jones
  0 siblings, 2 replies; 20+ messages in thread
From: Paul Hartman @ 2009-01-07 23:28 UTC (permalink / raw
  To: gentoo-user

Hi,

Normally I'm using SSH with regular password login, and I've read
about generating a keypair and having a password-less connection that
way. Is there a way to require both the key AND a password? Basically
if I put the key in my SSH client at work, I don't want a co-worker to
be able to login to my home PC, or someone to grab my phone, etc.

Is there a way to put a passphrase on the key (seperate from my user
account password)? Maybe that would work... Otherwise I've thought
about having a dummy SSH account and then "su - realuser" to get
access, but that seems kind of messy.

I've always used password login and IP-restricted it, but now I'm
traveling more and never know what IP I might be connecting from, so
using a key seems to be the best plan, or maybesome kind of
portknocking (but that's difficult from restricted ssh environments
such as a phone).

Thanks,
Paul



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2009-01-09  3:21 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07 23:28 [gentoo-user] SSH login with both key AND password? Paul Hartman
2009-01-07 23:45 ` [gentoo-user] " Nikos Chantziaras
2009-01-08  0:01   ` Paul Hartman
2009-01-08  0:11     ` Norberto Bensa
2009-01-08  0:25       ` Dave Jones
2009-01-08  0:11 ` [gentoo-user] " Dave Jones
2009-01-08  2:44   ` Shawn Haggett
2009-01-08  4:19     ` [gentoo-user] Problem with resolv.conf Hung Dang
2009-01-08  4:24       ` KH
2009-01-08  4:29         ` Eric Martin
2009-01-08  4:26       ` Eric Martin
2009-01-08  4:47         ` Hung Dang
2009-01-08  9:46           ` Redouane Boumghar
2009-01-08 16:45       ` [gentoo-user] " »Q«
2009-01-09  3:20         ` Hung Dang
2009-01-08 11:28   ` [gentoo-user] SSH login with both key AND password? Norberto Bensa
2009-01-08 16:57   ` Paul Hartman
2009-01-08 18:12     ` Paul Hartman
2009-01-08 20:57       ` Paul Hartman
2009-01-08 23:26         ` Eric Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox