clients:secure_shell
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
clients:secure_shell [2021/09/30 23:20] – Sean Rhone | clients:secure_shell [2024/08/13 17:57] (current) – removed Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Information ====== | ||
- | * OpenSSH client notes | ||
- | * See [[servers: | ||
- | |||
- | ====== Generate SSH Keys ====== | ||
- | |||
- | ===== Information ===== | ||
- | |||
- | * Can generate both a standard keypair and one for a hardware key | ||
- | * Hardware key will be used first if it's plugged-in | ||
- | |||
- | ===== Standard ===== | ||
- | |||
- | * [[https:// | ||
- | |||
- | ssh-keygen -t ' | ||
- | |||
- | ===== FIDO/U2F Key ===== | ||
- | |||
- | * [[https:// | ||
- | * Works with [[https:// | ||
- | * :!: '' | ||
- | |||
- | ssh-keygen -t ' | ||
- | |||
- | ====== Send Public Key to Server ====== | ||
- | |||
- | * Change '' | ||
- | |||
- | ssh-copy-id ' | ||
- | |||
- | ====== Force Public Key Login ====== | ||
- | |||
- | * [[https:// | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | PasswordAuthentication no | ||
- | AuthenticationMethods publickey</ | ||
- | |||
- | ====== Manage Keys ====== | ||
- | |||
- | ===== Backup ===== | ||
- | |||
- | **** | ||
- | |||
- | tar -cvzf ~/' | ||
- | |||
- | ===== Restore ===== | ||
- | |||
- | **** | ||
- | |||
- | ls ~/' |
/srv/www/wiki/data/attic/clients/secure_shell.1633058438.txt.gz · Last modified: by Sean Rhone