User Tools

Site Tools


clients:secure_shell

Information

  • Various commands for a SSH client

Generate SSH Keys

ssh-keygen -o -a '100' -t 'ed25519'

Manage Keys

Backup

cd ~ && tar -cvzf ~/'Documents/'$HOSTNAME'-ssh-keys.tar.gz' '.ssh' && sync

Restore

cd ~ && rm -rf ~/'.ssh' && tar -xvzf ~/'Documents/'$HOSTNAME'-ssh-keys.tar.gz' '.ssh' && rm ~/'Documents/'$HOSTNAME'-ssh-keys.tar.gz' && sync

Send Public Key to Server

ssh-copy-id 'espionage724@192.168.1.152'
clients/secure_shell.txt · Last modified: 2016/09/24 20:29 by Sean Rhone