GitHub Deploy Keys - ssh -T git@github.com success but git pull still asks for password -
i trying add deployment key github repository. repository private. have added key github repository have ran following command.
ssh -t git@github.com then received response....
the authenticity of host 'github.com (192.30.252.128)' can't established. rsa key fingerprint 11:22:aa:aa:11:22:33:44:55:66:77:88:99:00:11:22. sure want continue connecting (yes/no)? yes warning: permanently added 'github.com,192.30.252.128' (rsa) list of known hosts. hi username/project_name! you've authenticated, github not provide shell access. which suggest has worked successfully... try following
git pull then response...
username 'https://github.com': looking in /var/log/auth.log see following bits don't make sense me...
may 30 16:34:13 ip-172-31-16-221 sshd[2334]: error: not load host key: /etc/ssh/ssh_host_ed25519_key may 30 16:35:34 ip-123-123-123-123 sshd[2336]: error: not load host key: /etc/ssh/ssh_host_ed25519_key any appreciated!
run ssh -o stricthostkeychecking=no git@github.com add authenticity known_hosts.
it should fix it
Comments
Post a Comment