SSH vs : ?

,

Comparisons

SSH
, ,
, , and CI/CD
, , authorized_keys
, CI/CD, cron, and more
, ,
TOTP/ MFA passphrase, (FIDO2)

SSH

  • ()
  • ()
  • MFA ( + + OTP)

  • and
  • CI/CD
  • Git over SSH(GitHub/GitLab)
  • and

Examples

passwordExample

# ssh user@server
# user@server's password: ********

keyExample

# ()
ssh-keygen -t ed25519 -C "your@email.com"
ssh-copy-id user@server # ssh user@server
#,

Common Errors

( sshpass and more),
passphrase, and more
,
644, SSH ( 600)
Git

Recommended. Ed25519 passphrase, ssh-agent. (PasswordAuthentication no), fail2ban.