Login SSH dengan SSH key
Last updated 1 year ago
Generate public and private key
ssh-keygen -t rsa -b 4096 -C "asuka@nerv"
Copy SSH key to server
ssh-copy-id asuka@labs.linuxsec.org -p 666
Generate SSH public key using existing private key.
ssh-keygen -y -f ssh-keygen -y -f ~/.ssh/id_rsa_asuka | \ tee ~/.ssh/id_rsa_asuka.pub