Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <1936.217.162.71.141.1096446340.squirrel@217.162.71.141> Date: Wed, 29 Sep 2004 10:25:40 +0200 (CEST) Subject: SSH Environment From: "David E. Meier" To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at inetworx.ch X-IsSubscribed: yes 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/