Skip to main content
Post Closed as "Duplicate" by hft, kelalaka, CommunityBot
added 2 characters in body
Source Link
stefd
  • 121
  • 7

In an openssh-server login to a GNU/Linux machine

to use a private ssh key encrypted with an N-characters passphrase, then sshd_config:

PasswordAuthentication no
PubkeyAuthentication yes

is it safe howequivalent to use a login with a password that is always N-characters long?

PasswordAuthentication yes
PubkeyAuthentication no

in the event of a bruteforce attack.

In an openssh-server login to a GNU/Linux machine

to use a private ssh key encrypted with an N-characters passphrase, then sshd_config:

PasswordAuthentication no
PubkeyAuthentication yes

is it safe how to use a login with a password that is always N-characters long?

PasswordAuthentication yes
PubkeyAuthentication no

in the event of a bruteforce attack.

In an openssh-server login to a GNU/Linux machine

to use a private ssh key encrypted with an N-characters passphrase, then sshd_config:

PasswordAuthentication no
PubkeyAuthentication yes

is it equivalent to use a login with a password that is always N-characters long?

PasswordAuthentication yes
PubkeyAuthentication no

in the event of a bruteforce attack.

Source Link
stefd
  • 121
  • 7

ssh server encrypted key vs password login

In an openssh-server login to a GNU/Linux machine

to use a private ssh key encrypted with an N-characters passphrase, then sshd_config:

PasswordAuthentication no
PubkeyAuthentication yes

is it safe how to use a login with a password that is always N-characters long?

PasswordAuthentication yes
PubkeyAuthentication no

in the event of a bruteforce attack.