User Tools

Site Tools


clients:secure_shell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
clients:secure_shell [2020/06/12 02:22] Sean Rhoneclients:secure_shell [2024/08/13 17:57] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Information ====== 
  
-  * Various commands for a SSH client 
- 
-====== Generate SSH Keys ====== 
- 
-===== Standard ===== 
- 
-  * [[https://wiki.archlinux.org/index.php/SSH_keys#Ed25519|ArchWiki]] 
- 
-  ssh-keygen -t 'ed25519' 
- 
-===== FIDO/U2F Key ===== 
- 
-  * [[https://wiki.archlinux.org/index.php/YubiKey#OpenSSH|ArchWiki]] 
-  * Works with [[https://solokeys.com/|Solo]] 
-  * :!: ''ed25519-sk'' didn't work with Solo 4.0.0 
- 
-  ssh-keygen -t 'ecdsa-sk' 
- 
-====== Send Public Key to Server ====== 
- 
-  * Change ''x'' to IP 
- 
-  ssh-copy-id 'espionage724'@'x' 
- 
-====== Manage Keys ====== 
- 
-===== Backup ===== 
- 
-**** 
- 
-  tar -cvzf ~/'Documents/'$(date +%Y-%m-%d)'-'$HOSTNAME'-ssh-keys.tar.gz' -C ~ '.ssh' && ls ~/'Documents/'*'-ssh-keys.tar.gz' && sync 
- 
-===== Restore ===== 
- 
-**** 
- 
-  cd ~ && rm -rf ~/'.ssh' && tar -xvzf ~/'Documents/'$HOSTNAME'-ssh-keys.tar.gz' '.ssh' && rm ~/'Documents/'$HOSTNAME'-ssh-keys.tar.gz' && sync 
/srv/www/wiki/data/attic/clients/secure_shell.1591942957.txt.gz · Last modified: (external edit)