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
Next revisionBoth sides next revision
clients:secure_shell [2020/06/12 02:13] Sean Rhoneclients:secure_shell [2020/06/12 02:41] Sean Rhone
Line 4: Line 4:
  
 ====== Generate SSH Keys ====== ====== Generate SSH Keys ======
 +
 +===== Standard =====
 +
 +  * [[https://wiki.archlinux.org/index.php/SSH_keys#Ed25519|ArchWiki]]
 +
 +  ssh-keygen -t 'ed25519'
  
 ===== FIDO/U2F Key ===== ===== FIDO/U2F Key =====
Line 9: Line 15:
   * [[https://wiki.archlinux.org/index.php/YubiKey#OpenSSH|ArchWiki]]   * [[https://wiki.archlinux.org/index.php/YubiKey#OpenSSH|ArchWiki]]
   * Works with [[https://solokeys.com/|Solo]]   * Works with [[https://solokeys.com/|Solo]]
 +  * :!: ''ed25519-sk'' didn't work with Solo 4.0.0
  
-  ssh-keygen -t ecdsa-sk+  ssh-keygen -t 'ecdsa-sk
 + 
 +====== Send Public Key to Server ====== 
 + 
 +  * Change ''x'' to IP 
 + 
 +  ssh-copy-id 'espionage724'@'x'
  
 ====== Manage Keys ====== ====== Manage Keys ======
Line 24: Line 37:
 **** ****
  
-  cd ~ && rm -rf ~/'.ssh' && tar -xvzf ~/'Documents/'$HOSTNAME'-ssh-keys.tar.gz' '.ssh' && rm ~/'Documents/'$HOSTNAME'-ssh-keys.tar.gz' && sync +  ls ~/'Documents/'*'-ssh-keys.tar.gz' && rm -Rf ~/'.ssh' && tar -xvzf ~/'Documents/'*'-'$HOSTNAME'-ssh-keys.tar.gz' -C ~ '.ssh' && sync
- +
-====== Send Public Key to Server ====== +
- +
-  * Change ''x'' to IP +
- +
-  ssh-copy-id 'espionage724'@'x'+
/var/www/wiki/data/pages/clients/secure_shell.txt · Last modified: 2021/09/30 23:20 by Sean Rhone