ssh shell's mount table differs from normal shell's

Matt Swift swift@alum.mit.edu
Mon Sep 29 19:47:00 GMT 2003


I do not understand why the Cygwin mount table should be different in
the bash shell that I launch with cygwin.bat or rxvt.exe than the
mount table I get when I ssh to the host with the same user.  The
shell transcript below illustrates the difference.  The Windows drives
H: and S:, which are missing from the mount table in the ssh shell,
happen to be remote resources, while the other lettered mounts are
physical drives.  But if that were the pattern, the /usr/local/share
mount would also be absent in the ssh shell.

    [vav] swift> hostname; uname -a
    vav
    CYGWIN_NT-5.1 vav 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin

    [vav] swift> id
    uid=500(swift) gid=544(Administrators) groups=513(None),544(Administrators),545(Users),547(Power Users),551(Backup Operators),555(Remote Desktop Users),556(Network Configuration Operators),1011(Debugger Users)

    [vav] swift> ssh vav id
    uid=500(swift) gid=544(Administrators) groups=513(None),544(Administrators),545(Users),547(Power Users),551(Backup Operators),555(Remote Desktop Users),556(Network Configuration Operators),1011(Debugger Users)

    [vav] swift> mount
    C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode)
    C:\cygwin\bin on /usr/bin type system (binmode)
    C:\cygwin\lib on /usr/lib type system (binmode)
    \\beth\share on /usr/local/share type system (binmode)
    C:\cygwin on / type system (binmode)
    c: on /cygdrive/c type user (binmode,noumount)
    h: on /cygdrive/h type user (binmode,noumount)
    s: on /cygdrive/s type user (binmode,noumount)
    u: on /cygdrive/u type user (binmode,noumount)
    v: on /cygdrive/v type user (binmode,noumount)
    w: on /cygdrive/w type user (binmode,noumount)
    y: on /cygdrive/y type user (binmode,noumount)

    [vav] swift> ssh vav mount
    C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode)
    C:\cygwin\bin on /usr/bin type system (binmode)
    C:\cygwin\lib on /usr/lib type system (binmode)
    \\beth\share on /usr/local/share type system (binmode)
    C:\cygwin on / type system (binmode)
    c: on /cygdrive/c type user (binmode,noumount)
    u: on /cygdrive/u type user (binmode,noumount)
    v: on /cygdrive/v type user (binmode,noumount)
    w: on /cygdrive/w type user (binmode,noumount)
    y: on /cygdrive/y type user (binmode,noumount)

    [vav] swift> cat ~/.ssh/config
    # man ssh_config

    Host beth
    HostKeyAlias beth
    Host beth.swift.xxx
    HostKeyAlias beth

    Host vav
    HostKeyAlias vav
    Host vav.swift.xxx
    HostKeyAlias vav

    Host mercury
    HostKeyAlias mercury
    Host mercury.swift.xxx
    HostKeyAlias mercury

    # No strict checking for computers that are likely to move around.

    Host luna
    HostKeyAlias luna
    StrictHostKeyChecking no
    CheckHostIP no
    Host luna.swift.xxx
    HostKeyAlias luna
    StrictHostKeyChecking no
    CheckHostIP no

    Host zayin
    HostKeyAlias zayin
    StrictHostKeyChecking no
    CheckHostIP no
    Host zayin.swift.xxx
    HostKeyAlias zayin
    StrictHostKeyChecking no
    CheckHostIP no

    Host subversions.gnu.org
    CheckHostIP no
    Protocol 1


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