debian - Google Cloud Platform: ssh from VM_1 in project_A to VM_2 in project_B -
i trying connect virtual machine vm_1 in project_a virtual machine vm_2 in project_b. bot on debian linux.
steps did:
on vm_1 project_a
generated private , public keys
- ssh-keygen -t rsa -f ~/.ssh/my-ssh-key -c example-user
- $ chmod 400 ~/.ssh/my-ssh-key
in browser, metadata page of project_b.
- clicked ssh keys show list of project-wide public ssh keys , added public keys created vm_1 project_a
now keys added tried ssh virtual machine vm_1 on project_a vm_2 on project_b
it giving error
permission denied (publickey)
please advise
it seems bug can not apply public key particular vm in project. able connect applying public ssh key whole project.
Comments
Post a Comment