delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/20/13:00:44

X-Spam-Check-By: sourceware.org
Date: Tue, 20 Jun 2006 13:00:26 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Alexander DOT Farber AT nokia DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: Dir not mounted when logging in through ssh
In-Reply-To: <3BD8CF653D67544E9D2768E3F10FFC5D7EE671@boebe101.NOE.Nokia.com>
Message-ID: <Pine.GSO.4.63.0606201258480.2330@access1.cims.nyu.edu>
References: <3BD8CF653D67544E9D2768E3F10FFC5D7EE671 AT boebe101 DOT NOE DOT Nokia DOT com>
MIME-Version: 1.0
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 Tue, 20 Jun 2006, Alexander.Farber wrote:

> Hello,
>
> I have a problem that a directory ( /cygdrive/h mounted
> to the H:\ which is in turn mounted to \\bonfs01\afarber )
> is visible in the normal Cygwin console, but disappears
> when I login into the same PC via OpenSSH:
>
> afarber AT BOWEC101 ~
> $ mount
> C:\apps\Cygwin\bin on /usr/bin type system (binmode)
> C:\apps\Cygwin\lib on /usr/lib type system (binmode)
> \\bonfs01\afarber on /cygdrive/f type system (binmode,noexec)
> C:\apps\Cygwin on / type system (binmode)
> c: on /cygdrive/c type system (binmode,noumount)
> e: on /cygdrive/e type system (binmode,noumount)
> h: on /cygdrive/h type system (binmode,noumount)
>
> afarber AT BOWEC101 ~
> $ hostname
> BOWEC101
>
> afarber AT BOWEC101 ~
> $ ssh bowec101 "mount"
> Warning: Permanently added 'bowec101,172.25.91.22' (RSA) to the list of
> known hosts.
> afarber AT bowec101's password:
> C:\apps\Cygwin\bin on /usr/bin type system (binmode)
> C:\apps\Cygwin\lib on /usr/lib type system (binmode)
> \\bonfs01\afarber on /cygdrive/f type system (binmode,noexec)
> C:\apps\Cygwin on / type system (binmode)
> c: on /cygdrive/c type system (binmode,noumount)
> e: on /cygdrive/e type system (binmode,noumount)
>
>
> There is some /cygdrive/f dir instead,
> but I can't access it, when logged in via OpenSSH:
>
> $ ll /cygdrive/f
> ls: /cygdrive/f: No such file or directory
>
>
> Does anybody please have an idea what is happening?
> Using newest Cygwin (but not a snapshot) and Win 2003.

<http://cygwin.com/faq/faq.using.html#faq.using.shares>.
Depending on your setup, you might be able to issue a 'net use' command
from your ssh session to allow connecting to that share.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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