delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/11/09:55:11

X-Spam-Check-By: sourceware.org
Date: Sat, 11 Feb 2006 15:54:48 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ssh login and SMB drive
Message-ID: <20060211145448.GA11033@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <87k6c3oul7 DOT fsf AT physik DOT rwth-aachen DOT de> <Pine DOT GSO DOT 4 DOT 63 DOT 0602101624210 DOT 19642 AT access1 DOT cims DOT nyu DOT edu> <87hd76ujuu DOT fsf AT physik DOT rwth-aachen DOT de>
Mime-Version: 1.0
In-Reply-To: <87hd76ujuu.fsf@physik.rwth-aachen.de>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Feb 11 14:04, Torsten Bronger wrote:
> Hallöchen!
> 
> Igor Peshansky <pechtcha AT cs DOT nyu DOT edu> writes:
> 
> > On Fri, 10 Feb 2006, Torsten Bronger wrote:
> >
> >> I've running an sshd on a Cygwin system.  If I start Bash, I can
> >> see a remove drive of a Windows Server mounted at /cygdrive/t/.
> >> So far, so good.
> >>
> >> Unfortunately I can't see this drive when logging in from a Linux
> >> machine via ssh.  I suspect the reason is that the drive is
> >> password protected, and the password is not my login password.
> >> Every time I log in (via the orinary Windows login screen) I have
> >> to enter that password.
> >>
> >> Can I put this password somewhere so that Cygwin can mount it,
> >> even when I'm accessing it from outside?  Thank you!
> >
> > Can't you just run "net use t: '\\MACHINE\SHARE' '*'" from the bash prompt
> > once you're logged in via ssh?
> > 	Igor
> 
> I translate the german error messages into English:
> 
>     -bash-3.00$ net use t: '\\sonne\erde' '*'
>     Enter password for \\sonne\erde : sytem error 85 occured.
> 
>     The local device name is already in use.

You can't do that, the error says it all.  Just access the drive
using the network path //sonne/erde/...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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