Skip to main content

4 docs tagged with "ssh"

View all tags

Create a Non-Root User on Debian Linux

The recommended way to create a non-root user on a server is passwordless: the account has no usable password at all, you log in with an SSH key, and sudo is granted without a password prompt. There is no password to guess, phish, or reuse, and nothing to type when you sudo.

Set Up SSH Key Authentication

SSH key authentication uses a key pair: a private key that stays on your machine, and a public key you install on each server you connect to. Once it's set up you log in without typing a password, and the server can drop password logins entirely.