* ssh shell's mount table differs from normal shell's
@ 2003-09-29 19:47 Matt Swift
2003-09-29 20:26 ` Larry Hall
0 siblings, 1 reply; 6+ messages in thread
From: Matt Swift @ 2003-09-29 19:47 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ssh shell's mount table differs from normal shell's
2003-09-29 19:47 ssh shell's mount table differs from normal shell's Matt Swift
@ 2003-09-29 20:26 ` Larry Hall
2003-09-29 21:46 ` Larry Hall
0 siblings, 1 reply; 6+ messages in thread
From: Larry Hall @ 2003-09-29 20:26 UTC (permalink / raw)
To: Matt Swift, cygwin
Matt,
I'll let you look this one up if you're interested in the previous
discussions and details on this subject.
This is the same old "problem" with ssh that everyone has if they don't
authenticate with Windows (and enter their password). If you don't use
password authentication with ssh, Windows doesn't know you as the user you
say you are so it won't show you shares for that user.
Don't forget about the email archives when you have a question. I little
time looking there can answer allot of questions.
Larry
At 02:21 PM 9/29/2003, Matt Swift you wrote:
>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/
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ssh shell's mount table differs from normal shell's
2003-09-29 20:26 ` Larry Hall
@ 2003-09-29 21:46 ` Larry Hall
2003-10-05 4:28 ` emacs -nw control-c mapped to control-g Terrence Brannon
0 siblings, 1 reply; 6+ messages in thread
From: Larry Hall @ 2003-09-29 21:46 UTC (permalink / raw)
To: Cygwin List, Matt Swift, cygwin
At 04:02 PM 9/29/2003, Larry Hall you wrote:
>Matt,
>
>I'll let you look this one up if you're interested in the previous
>discussions and details on this subject.
>
>This is the same old "problem" with ssh that everyone has if they don't
>authenticate with Windows (and enter their password). If you don't use
>password authentication with ssh, Windows doesn't know you as the user you
>say you are so it won't show you shares for that user.
>
>Don't forget about the email archives when you have a question. I little
^^^
Ugh! A
>time looking there can answer allot of questions.
>
>Larry
>
>
>At 02:21 PM 9/29/2003, Matt Swift you wrote:
>
>>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/
>
>
>--
>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/
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* emacs -nw control-c mapped to control-g
2003-09-29 21:46 ` Larry Hall
@ 2003-10-05 4:28 ` Terrence Brannon
2003-10-05 17:06 ` Larry Hall
2003-10-08 14:51 ` Joe Buehler
0 siblings, 2 replies; 6+ messages in thread
From: Terrence Brannon @ 2003-10-05 4:28 UTC (permalink / raw)
To: Cygwin List
When I open emacs via "emacs -nw" in a cygwin bash shell, it maps
control-c to control-g for some reason...
I looked through the archive and this fine gentlemen's post:
http://sources.redhat.com/ml/cygwin/2003-09/msg01647.html
appears to have been ignored.
Am I doomed to the same fate? Does the entire Cygwin team use vi??? :-)
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs -nw control-c mapped to control-g
2003-10-05 4:28 ` emacs -nw control-c mapped to control-g Terrence Brannon
@ 2003-10-05 17:06 ` Larry Hall
2003-10-08 14:51 ` Joe Buehler
1 sibling, 0 replies; 6+ messages in thread
From: Larry Hall @ 2003-10-05 17:06 UTC (permalink / raw)
To: Terrence Brannon, Cygwin List
At 11:11 PM 10/4/2003, Terrence Brannon you wrote:
>When I open emacs via "emacs -nw" in a cygwin bash shell, it maps control-c to control-g for some reason...
>
>I looked through the archive and this fine gentlemen's post:
>
> http://sources.redhat.com/ml/cygwin/2003-09/msg01647.html
>
>appears to have been ignored.
>
>Am I doomed to the same fate? Does the entire Cygwin team use vi??? :-)
Well, it looks like Troy gave up on his investigation (AFAICS) so unless
you or someone else interested in this issue picks it up again, I guess
you will share the same fate. An alternative is to switch to the Cygwin
version of emacs. FWIW, I am not an emacs user.
HTH,
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs -nw control-c mapped to control-g
2003-10-05 4:28 ` emacs -nw control-c mapped to control-g Terrence Brannon
2003-10-05 17:06 ` Larry Hall
@ 2003-10-08 14:51 ` Joe Buehler
1 sibling, 0 replies; 6+ messages in thread
From: Joe Buehler @ 2003-10-08 14:51 UTC (permalink / raw)
To: cygwin
Terrence Brannon wrote:
> When I open emacs via "emacs -nw" in a cygwin bash shell, it maps
> control-c to control-g for some reason...
You probably don't have "tty" included in your CYGWIN environment variable.
--
Joe Buehler
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-10-08 13:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-29 19:47 ssh shell's mount table differs from normal shell's Matt Swift
2003-09-29 20:26 ` Larry Hall
2003-09-29 21:46 ` Larry Hall
2003-10-05 4:28 ` emacs -nw control-c mapped to control-g Terrence Brannon
2003-10-05 17:06 ` Larry Hall
2003-10-08 14:51 ` Joe Buehler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).