Skip to main content
3 of 3
edited tags
schroeder
  • 132.2k
  • 55
  • 307
  • 348

Is using a public-key for logging in to SSH any better than saving a password?

Using a public/private key pair is fairly convenient for logging in to frequented hosts, but if I'm using a key pair with no password, is that any safer (or less safe) than a password? The security around my private key file is paramount, but say my magical private key file was just a list of passwords to various hosts, is there a difference?

Nick T
  • 3.5k
  • 5
  • 24
  • 28