Warning: Permanently added 'github.com,111.11.111.111' (RSA) to the list of known hosts.

% git clone git@github.com:RustyNail/selenium_demo.git
Cloning into 'selenium_demo'...
The authenticity of host 'github.com (111.11.111.111)' can't be established.
RSA key fingerprint is 16:27:ac:a5:11:11:11:11:63:1b:56:4d:eb:df:11:11.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,111.11.111.111' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.



% cd .ssh
config
id_rsa
id_rsa.pub
known_hosts


% cat id_rsa.pub
ssh-rsa 
fiejfidoaffohda349u329yr0hf98u0fy328fh2hff00hhhhhf0dhs00ahfihfffbejfffffffslajfjaofjdiohafoebnowafboobfaoishdfoisajfodsajfidojafoijdfa test@test.local

github.com

へ鍵を設定

% vi config

// 追加

host github.com
Hostname ssh.github.com
Port 443

再度実行で無事通りました。