0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ssh -T githubは通るのにgit cloneできない

Posted at

タイトル通り、突然githubへのアクセスがPermission deniedになってしまいました。

解決策

C:\Program Files\Git\etc\ssh\ssh_configを編集する。

要因

どうやら、sshコマンドでの設定は%USERPROFILE%/.ssh/configを参照していたのに対し、gitコマンドでは上記の設定を見ていたようです。

突然変わってしまった要因はわかりませんが、前後の操作を鑑みるにVisualStudioのアップデートが要因だと思います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?