How to set up SSH Keys.

by JOHN

Cmdlet
random_image

  • Creating SSH Key on client
    • ssh-keyset -t rsa
  • Installing the public key in server.
    • ssh-copy-id -i $HOME/.ssh/id_rsa.pub user@server-ip-address
  • Testing a connection
    • ssh user@server-ip-addresss


43
Leave a Comment:
Search