delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/29/04:25:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <dev AT eth0 DOT ch>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.3a
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019