Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 02:22:30 +0200
From:      Bernt Hansson <bah@bananmonarki.se>
To:        John Case <case@SDF.ORG>, freebsd-questions@freebsd.org
Subject:   Re: comparing SSH key and passphrase auth vs. an SSH key *with* a passphrase ...
Message-ID:  <54123CC6.10207@bananmonarki.se>
In-Reply-To: <Pine.NEB.4.64.1409112200270.27915@faeroes.freeshell.org>
References:  <Pine.NEB.4.64.1409112200270.27915@faeroes.freeshell.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-09-12 00:04, John Case wrote:
>
> Hi,
>
> I've always used SSH with simply a password.  This has always worked
> fine for me.
>
> Lately, I've been thinking that I might like to increase my security by
> using *both* a UNIX password and an SSH key.  That is, I can't log in
> unless I have my password and my key.  However, it doesn't look like SSH
> supports this - either you do unix password OR you do SSH key, it
> doesn't look like there is any way to do both.
>
> However, what I could do is only use an SSH key, but set a passphrase on
> that key.  The only difference here is that my safety is all bound up in
> SSH, whereas before it was distributed between SSH and the OS.
>
> So I'm curious...
>
> What's the difference between using a UNIX password combined with an SSH
> key (if that actually worked, which it doesn't) and using an SSH key
> with a passphrase attached ?  Is one of these better than the other ?
> Are they the same ?
>
> What's the difference ?

Check out the handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/openssh.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54123CC6.10207>