Re: Does Public Key Authentication offer additional security over SSH/SFTP



Marty W wrote:
Hi guys,

I've got a fairly newbie (but hopefully quick) question.
So I've set up a public/private key pair on my Unix boxes for
authentication for my SSH/SFTP connections so I don't have to provide
my password.

Does setting this up provide an extra layer of security (ie additional
encryption) ?

Cheers
Capt. Wing


The security is only as good as the strength of the passphrase on the
private key. If you've left it unencrypted (no passphrase), you actually
made it much easier for an attacker to get into your servers. They just
need to steal a copy of the key and they will never need anything else.
With a weak password, it's subject to dictionary attacks, but they would
still need to get a copy of the key file. The bottom line is protect the
private key file itself by making it as inaccessible as possible to
anyone but you, and then have it encrypted with a strong passphrase.
.



Relevant Pages

  • Re: TEA
    ... ElGamal's key format allows one to compute the private key directly ... Using a key file restricts searches of the passphrase space to those ...
    (sci.crypt)
  • Re: ssh with keys problem from Solaris
    ... that's the private key; you need the public key on the server. ... PP> of key file. ... -N phrase Provide new passphrase. ...
    (comp.security.ssh)
  • Re: Feature request
    ... >>case why can that not be send across on request in the handshake phase? ... > change his private key in any way, he could no longer be authenticated ... the passphrase is ... but the passphrase belongs to the private keyfile. ...
    (comp.security.ssh)
  • Re: Re: RE: ADS Password Storage Protection
    ... passphrase makes up for the difference. ... Is it really that vulnerable to dictionary attacks? ... SensePost willl be at Black Hat Vegas in July. ... Hacking, like any art, will take years of dedicated study and practice to master. ...
    (Security-Basics)
  • Re: SSH publickey auth
    ... > The goal of using Identity/Pubkey authentication is to remove the need ... > can prove you have the public and private key then you are granted ... You see here the mention of the "passphrase"? ... > authentication credentials 'follow' you. ...
    (Fedora)