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
Last revisionBoth sides next revision
clients:secure_shell [2020/06/12 03:01] Sean Rhoneclients:secure_shell [2020/09/05 05:34] Sean Rhone
Line 37: Line 37:
 **** ****
  
-  tar -cvzf ~/'Documents/'$(date +%Y-%m-%d)'-'$HOSTNAME'-ssh-keys.tar.gz' -C ~ '.ssh' && ls ~/'Documents/'*'-ssh-keys.tar.gz' && sync+  tar -cvzf ~/'Documents/'$(date +%Y-%m-%d)'-ssh-keys.tar.gz' -C ~ '.ssh' && ls ~/'Documents/'*'-ssh-keys.tar.gz' && sync
  
 ===== Restore ===== ===== Restore =====
Line 43: Line 43:
 **** ****
  
-  ls ~/'Documents/'*'-ssh-keys.tar.gz' && rm -Rf ~/'.ssh' && tar -xvzf ~/'Documents/'*'-'$HOSTNAME'-ssh-keys.tar.gz' -C ~ '.ssh' && sync+  ls ~/'Documents/'*'-ssh-keys.tar.gz' && rm -Rf ~/'.ssh' && tar -xvzf ~/'Documents/'*'-ssh-keys.tar.gz' -C ~ '.ssh' && sync
/var/www/wiki/data/pages/clients/secure_shell.txt · Last modified: 2021/09/30 23:20 by Sean Rhone