Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 618 Bytes

ssh.md

File metadata and controls

26 lines (20 loc) · 618 Bytes

SSH

  • Key generate
   ssh [email protected] -p 2222  

   ssh-keygen -t rsa -C EMAIL
   ssh-keygen -t rsa -f CUSTOM_FILE_NAME

   ssh-keygen -p 
   # Then it will ask for the existing key path, old pass, and new pass
  • ~/.ssh/authorized_keys is created to add a public file
  • ~/.ssh/config to create shortcuts like ssh SHORTCUT-NAME.
   Host example
       HostName 0.0.0.0
       port 22
       User name
       IdentityFile ~/.ssh/id_rsa

Resource