LoginSignup
10
15

More than 5 years have passed since last update.

tortoiseGitのOpenSSH形式での接続の設定(Windows10環境)

Posted at

結論

「TotiseGit > 設定 > ネットワーク」のSSHクライアントにWindows10標準のsshクライアントを指定する

経緯

GitHubにSSHの公開鍵を設定しているのに、TotiseGitでclone出来ない

原因は、sshクライアントがTotoiseGitのPuTTY形式のSSHクライアントがデフォルトで指定されていること

つまり、コマンドラインでssh-keygenで作成したものがホームディレクトリ直下の.sshにid_rsaで吐き出されているとしても、このデフォルトのsshクライアントでは見に行ってくれない

なので、「tortiseGit > 設定 > ネットワーク」のSSHクライアントをWindows10標準のsshクライアントに変更すれば、ssh接続ができるようになる

Windows10標準のsshクライアントは「C:\Windows\System32\OpenSSH\」にssh.exeがある

参考

https://www.clear-code.com/blog/2009/7/8.html
http://www.freia.jp/taka/blog/windows-native-ssh-client/index.html

10
15
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
10
15