Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Location of config file on Windows

7,049 views
Skip to first unread message

Anton Shepelev

unread,
Jan 20, 2012, 3:24:41 PM1/20/12
to
Hello all,

Is there a way to change the default location of the
config file in OpenSSH for windows? I tried in-
stalling OpenSSH in a directory other than

C:\Program Files\OpenSSH

but it still looks for its config in

C:\Program Files\OpenSSH\etc\ssh_config

Anton

Man-wai Chang

unread,
Jan 28, 2012, 9:41:30 AM1/28/12
to
Check out the mklink command. It creates symbolic links or junctions.

--
@~@ You have the right to remain silence.
/ v \ Simplicity is Beauty! May the Force and farces be with you!
/( _ )\ (Fedora 15 i686) Linux 3.2.1
^ ^ 22:38:02 up 3:20 0 users load average: 0.00 0.01 0.05
不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA):
http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa

Anton Shepelev

unread,
Jan 29, 2012, 5:45:53 AM1/29/12
to
Man-wai Chang:

> Check out the mklink command. It creates symbolic
> links or junctions.

Thanks. It would be a good workaround if I had Win-
dows 7, but I am interested in using OpenSSH the way
it's meant to be, and the main problem is that I
can't find where its config-file-searching algorithm
is documented.

However, I found that it is also possible to put
have the config file at:

C:\Documents and Settings\<user>\.ssh\config

where 'config' is not a directory but the file
itself. This works with the version of OpenSSH
downloaded from:

http://sshwindows.sourceforge.net/download/
(then go to "Binary Installer Releases")

Anton
0 new messages