Windows – ssh config under cygwin

bashcygwin;opensshsshwindows 7

I have Cygwin installed on Windows 7. I made default install. I would like to use ssh config file (~/.ssh/config) to set host and options for connecting.

Normal ssh command is not able to find the config while I try to connect: ssh host
If I explicitly specify config file, everything is OK: ssh -F ~/.ssh/config

I cannot found any option to set ssh client, something like /etc/ssh

Maybe ssh doesn't know where is my home folder? (I have set HOME environment variable to my home folder)

Best Answer

Install the openssh package and then run ssh-host-config. It will generate a "ssh_config" file in /etc/.

Related Question