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 [2020/06/12 02:03] – Sean Rhone | clients:secure_shell [2021/09/30 23:20] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Information ====== | ====== Information ====== | ||
- | * Various commands for a SSH client | + | * OpenSSH |
+ | * See [[servers: | ||
====== Generate SSH Keys ====== | ====== 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 ===== | ===== FIDO/U2F Key ===== | ||
Line 9: | Line 21: | ||
* [[https:// | * [[https:// | ||
* Works with [[https:// | * Works with [[https:// | ||
+ | * :!: '' | ||
- | ssh-keygen -t ecdsa-sk | + | ssh-keygen -t 'ecdsa-sk' |
+ | |||
+ | ====== Send Public Key to Server ====== | ||
+ | |||
+ | * Change '' | ||
+ | |||
+ | ssh-copy-id ' | ||
+ | |||
+ | ====== Force Public Key Login ====== | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | sudo -e '/ | ||
+ | |||
+ | < | ||
+ | PasswordAuthentication no | ||
+ | AuthenticationMethods publickey</ | ||
====== Manage Keys ====== | ====== Manage Keys ====== | ||
Line 18: | Line 47: | ||
**** | **** | ||
- | | + | tar -cvzf ~/' |
===== Restore ===== | ===== Restore ===== | ||
Line 24: | Line 53: | ||
**** | **** | ||
- | | + | |
- | + | ||
- | ====== Send Public Key to Server ====== | + | |
- | + | ||
- | ssh-copy-id | + |
/var/www/wiki/data/attic/clients/secure_shell.1591941800.txt.gz · Last modified: 2020/06/12 02:03 by Sean Rhone