delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/11/08:06:22

X-Spam-Check-By: sourceware.org
Mail-Followup-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Torsten Bronger <bronger AT physik DOT rwth-aachen DOT de>
Subject: Re: ssh login and SMB drive
Date: Sat, 11 Feb 2006 14:04:57 +0100
Lines: 47
Message-ID: <87hd76ujuu.fsf@physik.rwth-aachen.de>
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>
Mime-Version: 1.0
X-PGP-Fingerprint: C5C8 D6E2 79D2 EFE9 8C0F 6D77 D5E3 CEFC 9F51 6B77
X-PGP-Affinity: will accept encrypted message for GPG
X-Home-Page: http://www.wikipedia.org/wiki/User:Bronger
X-Binford: 6100 (more power)
Mail-Copies-To: never
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)
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

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.

    -bash-3.00$ ls -l /cygdrive/
    total 0
    drwxrwxrwx+ 13 Administratoren root 0 Jan 11 03:00 c
    drwxrwxrwx+  4 Administratoren root 0 Jan 11 03:01 d
    drwxrwxrwx+  6 Administratoren root 0 Jan 11 03:00 e
    drwxr-xr-x   1 bronger         Kein 0 Feb 10 13:04 h

Besides, I want to copy files from my Linux machine to this Windows
machine using rsync, tunneled trough ssh.  This fails due to the
missing drive.  However, the drive must already be there when rsync
logs in.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus            ICQ 264-296-646


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