お世話になっております。
さくらのレンタルサーバーのビジネスプランにて、SSH接続を行ってgithubからソースコードをpullしておりました。
いつからか急にpullが出来なくなってしまって非常に困っております。。
pullが出来ないのは、SSHでgithubに接続が出来ないのが原因だと思い、色々調べてみました。
エラーの内容から、mac_spec?のアルゴリズムがclientとserverであっていないので、client側(今回の場合はさくらの?)ものをあげないといけないと思うのですが、そこで詰まってしまいました。
% ssh git@github.com no matching mac found: client hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 server hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
ssh -m hmac-md5 git@github.com
など、エラーに記載されているアルゴリズムで接続を試みたのですが、いずれも一致しないエラーが発生していまい、接続ができない状況です。
こちら、どのようにすれば良いかご教授いただけませんでしょうか。
何卒、よろしくお願いいたします。
git pull したらどのようなエラーが出るのですか?
ご質問ありがとうございます。
git pullの場合も同じようなエラーが発生しております。
```
% git pull
no matching mac found: client hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 server hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
```
なるほど、 ssh のエラーと同じメッセージが出るのですね。
ちなみに ssh -v で表示される ssh クライアントのバージョンはいくつですか?
ご回答ありがとうございます。
下記のバージョンでございました。
```
% ssh -v
OpenSSH_5.8p2 FreeBSD-20110503, OpenSSL 0.9.8zf 19 Mar 2015
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-I pkcs11] [-i identity_file]
[-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-W host:port] [-w local_tun[:remote_tun]]
[user@]hostname [command]
```
ご確認いただけますと幸いでございます。
回答1件
あなたの回答
tips
プレビュー