공개 키를 github에 업로드하고 ~ / .ssh / id_rsa에 개인 키가 있습니다.
~ / .ssh / config에 RSAAuthentication = yes 및 PubkeyAuthentication = yes를 추가 한 후에도 ssh는 개인 키를 시도하지 않는 것 같습니다.
$ ssh -vT git@github.com
....
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
나는 그것이 더 비슷한 것으로 생각된다.
debug1: Authentications that can continue: publickey
debug1: Trying private key id_rsa...
debug1: No more authentication methods to try.
~ / .ssh 및 ~ / .ssh / id_rsa에 대한 권한이 올바르게 설정되어 있다고 생각합니다.
/home/doriad/.ssh $ ls -al ~/.ssh
total 40
drwx------ 2 doriad users 4096 Oct 16 16:05 .
drwx------ 81 doriad users 12288 Oct 16 13:22 ..
-rw------- 1 doriad users 174 Oct 16 16:05 config
-rw------- 1 doriad users 147 Oct 16 16:05 config~
-rw------- 1 doriad users 1679 Sep 23 11:45 id_rsa
-rw------- 1 doriad users 402 Sep 23 11:45 id_rsa.pub
-rw-r----- 1 doriad users 5979 Sep 23 11:37 known_hosts
아무도 내 개인 키를 시도하지 않는 이유를 설명 할 수 있습니까?