Вы находитесь на странице: 1из 1

1) go to root user by typing sudo -i

2)go to ssh folder by typing cd .ssh/


3)check if the id_rsa @id_rsa.pub are created
4)if not then create by ssh-keygen
5)copy id_rsa.pub to authorizied _keys
6)copy id_rsa.pub to google>compute engine > metadata >ssh keys
7)paste your id_rsa.pub and edit your username at last
========================================================

8)copy id_rsa save it on your computer with p.ppk extension


9)open puttygen load the same private keygen
10) remove the key comments "imported-openssh-key" @ add your username
11)click on save private keys
12)go to ssh>auth> click on browse>select the private key
13)in sessions type your username@public_ip

Вам также может понравиться