Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 563 Bytes

SETUP.md

File metadata and controls

14 lines (12 loc) · 563 Bytes

Generate ssh key

  1. PuTTYgen SSH-2 RSA Key with 2048 bits
  2. Save public key and private key (ppk)
  3. Copy the text field of Public Key to authorized_keys on remote server
  4. Set Putty Configuration "Connection -> Data, Auto-login username"
  5. Set Putty Configuration "Connection -> SSH -> Auth, Private key file"
  6. On remote server
    1. chmod 700 ~/.ssh
    2. chmod 600 ~/.ssh/authorized_keys
    3. chown $USER:$USER ~/.ssh -R
    4. change /etc/ssh/sshd_config so it contains AuthorizedKeysFile %h/.ssh/authorized_keys
    5. sudo service ssh restart