83
78

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

(Windows)Git付属のsshのssh_configの場所

Posted at

Git付属のsshのおかげでPowerShellからsshが使えて大変便利。
ところが、このsshを使用する場合、$HOME/.ssh/configを作成しても設定を読んでくれません。
どうすればいいかと調べたところ、StackOverFlowに答えが載っていました
http://stackoverflow.com/questions/9513712/git-ssh-client-for-windows-and-wrong-path-for-ssh-config-file

答えは以下のパスに置くこと
< Gitのインストールパス >/Git/etc/ssh/ssh_config
※.sshでもconfigでもなく、ssh/ssh_configです。

ここに置くことでlinuxの$HOME/.ssh/configと同じようにssh user@hostとやるとコンフィグを読んでくれます。

83
78
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
83
78

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?