delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/29/12:57:24

X-Spam-Check-By: sourceware.org
Message-ID: <44A40668.20806@obbligato.org>
Date: Thu, 29 Jun 2006 11:57:12 -0500
From: David Greene <greened AT obbligato DOT org>
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Access to Network Drive under ssh
References: <44A3F2F8 DOT 7010904 AT obbligato DOT org> <e80vfi$g0k$1 AT sea DOT gmane DOT org>
In-Reply-To: <e80vfi$g0k$1@sea.gmane.org>
X-Cray-VirusStatus: clean
X-IsSubscribed: yes
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

mwoehlke wrote:

> Anyway, the way I generally get things... well, closer to working, is to 
> create a service that calls 'bash -c <some-sshd-init-script>', and have 
> the script issue a bunch of 'net use <foo> <bar>' commands and then exec 
> sshd. That way you don't have to worry about connections being 
> remembered, because they will always be created for you when sshd starts 
> up.

That doesn't seem to work for me.  When I start the service (I called
it mysshd), I get this in mysshd.log:

No valid response was provided.
  \\samba-mendota\dag. Do you
want to overwrite the remembered connection? (Y/N) [Y]:

An ssh session looks no different than before as far as
network drives are concerned.

                               -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