문제

I have generated a ssh-keygen from server1, transferred it to server2 (both Ubuntu servers) using scp, added it to the .ssh/authorized_keys and then changed the permissions to both directory and file. The problem is that when i try to ssh or scp from server1 to server2, it keeps asking me for the passphrase.

It worked perfectly from my mac to the server. I followed this Git keeps asking me for my ssh key passphrase which worked but after i logout from both servers, it keeps on asking me for the passphrase again. Can someone help me please?

도움이 되었습니까?

해결책

Ok found that the solution was not to include a passphrase when you generate the ssh-keygen...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top