This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SSH Environment


Hi,

I try the running ssh client with only the required dll's from a .net
application and without a full cygwin installation. Basically that works
fine.

However, I have a problem regarding the known_hosts file: It does not get
written anywhere and therefore asks to add the key each time the app runs.
I tried to set the environment variabe to: HOME=c:\Program Files\myApp in
WinXP with a subdir .ssh already created. No luck.

Then I tried setting the HOME-variable to different values when starting
the ssh-process from my .net application using "/cygdrive/c/Program
Files/myApp", "/cygdrive/c/Program\\ Files/myApp" or "C:\Program
Files\myApp". No luck as well.

What am I missing here? Do I need more environment variables? Another
solution for setting the path of the known_hosts file?

Dave


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]