Advertisement
rama_astadipati

Generate RSA key Updated

Jan 10th, 2023 (edited)
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Generate rsa key
  2. https://www.howtoforge.com/set-up-ssh-with-public-key-authentication-debian-etch
  3. mkdir ~/.ssh
  4. chmod 700 ~/.ssh
  5. cd ~/.ssh
  6. ssh-keygen -t rsa enter enter enter sampai selesai
  7. ssh-copy-id user@serverip tunggu sampai selesai
  8. done
  9.  
  10. Jika server minipc tidak selalu ask bisa cek authorized_keys di create & copy dari client/server iperf
  11.  
  12. StrictHostKeyChecking=no -> disable host key checking, selalu ditambah ke known_host
  13. StrictHostKeyChecking=ask -> default behaviour
  14. StrictHostKeyChecking=yes -> kalau tdk ada di known_host langsung denied
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement