Ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCZiCpKTeimka12e826b5D2yDer4316ZRKaiS1agKybFfG/ Then you have to copy the public ~]# cat ~/.ssh/id_rsa.pub Now you have to change the permission of the private key file to ~]# chmod 600 ~/.ssh/id_rsa id_rsa is your private key and id_rsa.pub is your public key. By default this command will create two files in ~/.ssh folder, id_rsa and id_rsa.pub. You can give any name for key files during the key creation. Your identification has been saved in /root/.ssh/id_rsa. So type the following command on your local machine to generate an SSH key ~]# ssh-keygenĮnter file in which to save the key (/root/.ssh/id_rsa):Įnter passphrase (empty for no passphrase): The first step to configuring SSH key authentication is to generate an SSH key pair. You can increase the security by changing the SSH Password Authentication to Key authentication. Secure Shell is a protocol which allows you to access a remote computer securely.
0 Comments
Leave a Reply. |