Visibility of Samba shares after ssh login

Guenter Bachler guenter.bachler@avl.com
Tue May 23 08:46:00 GMT 2006


I started the ssh-server on the windows client in order to log-on to a 
Linux maschine
and vice verse. On the Windows client several SAMBA shares have been mapped
and correctly displayed with the 'mount' command  in the cygwin shell.

The mount list looks like:

E:\cygwin\bin on /usr/bin type system (binmode)
E:\cygwin\lib on /usr/lib type system (binmode)
E:\cygwin on / type system (binmode)
D:\home on /home type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
f: on /cygdrive/f type system (binmode,noumount)
k: on /cygdrive/k type system (binmode,noumount)
l: on /cygdrive/l type system (binmode,noumount)
m: on /cygdrive/m type system (binmode,noumount)
q: on /cygdrive/q type system (binmode,noumount)
r: on /cygdrive/r type system (binmode,noumount)
s: on /cygdrive/s type system (binmode,noumount)
u: on /cygdrive/u type system (binmode,noumount)
v: on /cygdrive/v type system (binmode,noumount)
x: on /cygdrive/x type system (binmode,noumount)
y: on /cygdrive/y type system (binmode,noumount)
z: on /cygdrive/z type system (binmode,noumount)


Now invoking an ssh login session from the Linux machine on the Windows 
client
(under my regular Windows account), the mount command does not display the
SAMBA shares anymore (beginning with drive letters k)

The mounted drive list reduces to:

E:\cygwin\bin on /usr/bin type system (binmode)
E:\cygwin\lib on /usr/lib type system (binmode)
E:\cygwin on / type system (binmode)
D:\home on /home type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
f: on /cygdrive/f type system (binmode,noumount)


Is there any simple procedure to remount all SAMBA shares
automatically in the ssh session?

kind regards
G. Bachler

-- 
-----
Dr. Günter Bachler	
Technical Expert System Administration CAE	
Product Development IT	
Corporate Functions / Information Technology

e-mail: guenter.bachler@avl.com
Phone:  +43-316-787-3425
Fax:    +43-316-787-1847

AVL LIST GMBH
A-8020 Graz, Hans-List-Platz 1
http://www.avl.com


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



More information about the Cygwin mailing list