[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Almost connected, but not quite.
From: |
David A. Cobb |
Subject: |
Almost connected, but not quite. |
Date: |
Wed, 28 Feb 2001 14:13:40 -0500 |
Background: I run MS Win98se, Cygwin-<latest>,
Xemacs-i686-pc-Cygwin32-21.1.13, OpenSSH [from Cygwin download].
*Pardon the cross-posting, I don't know whose piece of the puzzle I
missed*
I am trying to make a secure tunnel to a cvs server.
I greatly prefer to do everything in Xemacs (shell-mode for commands),
it is nice to be able to page up and down over my output & such. Among
many many other good things.
So I execute Xemacs via. SSH-AGENT:
<blockquote>
$ SSH-AGENT Xemacs -f shell
</blockquote>
and the first thing in Shell I do the SSH-ADD so my identity file is
known.
Everything I know about the server is in my ~/.ssh/config file. That
lets me avoid trying to figure how to get the params right for Xemacs
SSH command, also to avoid retyping the same thing. [It is not
attached, for obvious security reasons.]
First I tried using Xemacs M-x ssh. It connected just fine and I had
lots of debug printout to prove it. Then I set CVS_RSH to
"/usr/bin/ssh" and did CVS ... :ext:
that worked nicely also up to a point. When I saw I was getting the SSH
debug output I did a $ ps and saw I now had two of them. I shut the
whole thing down and started again.
Second try I let CVS start SSH, as it should do. The /attached/ session
log shows that it went fine until the SSH passed the "cvs server"
command up to its counterpart. Then nothing!
Please advise [ in other words HELP! ]
--
David A. Cobb, The Superbiskit !
Software Engineer, Public Access Advocate, All around nice guy.
Get my PGP key at
:<http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=superbiskit>
Fingerprint=0x{6E3E DB8C 2E8C 4248 62B2 FE29 08EE CF0A 3629 E954}
"By God's Grace I am a Christian man, by my actions a great sinner."
--The Way of a Pilgrim, R. M. French [tr.]
<---.----!----.----!----.----!----.----!----.----!----.----!----.---->
:]0;~:[32m\//address@hidden/~[0m $ PS1="\n://\h/\w/: $ "
://CX193439-A/~/: $ ssh-add ~/.ssh/id_dsa
Need passphrase for /home/Superbiskit/.ssh/id_dsa
Enter passphrase for /home/Superbiskit/.ssh/id_dsa: I was born on February 7th,
1943, in Boston, Mass.
Identity added: /home/Superbiskit/.ssh/id_dsa (/home/Superbiskit/.ssh/id_dsa)
://CX193439-A/~/: $ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
730217 1 730217 4294195463 0 511 10:11:59 /usr/bin/BASH
760537 1 760537 4294206759 -1 511 10:15:12 /usr/bin/SSH-AGENT
766989 730217 766989 4294265867 0 511 10:15:13
/USR/LOCAL/I686-PC-CYGWIN/BIN/XEMACS-21.1.13
538453 766989 538453 4294395107 1 511 10:17:17 /usr/bin/BASH
561037 766989 561037 4294403251 2 511 10:27:33 /usr/bin/SSH
610997 538453 610997 4294359883 1 511 10:32:04 /usr/bin/PS
://CX193439-A/~/: $ kill 561037
://CX193439-A/~/: $ CVS_RSH="/usr/bin/SSH" ; export CVS_RSH
://CX193439-A/~/: $ CVS --help
Usage: CVS [cvs-options] command [command-options-and-arguments]
where cvs-options are -q, -n, etc.
(specify --help-options for a list of options)
where command is add, admin, etc.
(specify --help-commands for a list of commands
or --help-synonyms for a list of command synonyms)
where command-options-and-arguments depend on the specific command
(specify -H followed by a command name for command-specific help)
Specify --help to receive this message
The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
the CVS home page at http://www.cvshome.org/ or
Pascal Molli's CVS site at http://www.loria.fr/~molli/cvs-index.html
://CX193439-A/~/: $ mount
Device Directory Type Flags
A:\V20010213\HOME\Superbiskit\.keys /home/Superbiskit/.ssh/.keys user
textmode
E:\#Cygwin#\bin\X11 /usr/bin/X11 system binmode
D:\#Cygwin#\tmp /tmp system textmode
E:\#Cygwin#\bin /usr/bin system binmode
E:\#Cygwin#\lib /usr/lib system binmode
E:\#Cygwin# / system binmode
C:\JDK1.3 /usr/java user textmode
C:\JDK1.3 /usr/java system binmode
E:\BUILD /build system binmode
F:\CACHE /.cache system binmode
E:\HOME /home system textmode
C: /localdrive.C system binmode
D: /localdrive.D system binmode
E: /localdrive.E system binmode
F: /localdrive.F system binmode
://CX193439-A/~/: $ umount /usr/java
://CX193439-A/~/: $ cd /build
://CX193439-A//build/: $ ls
Gnus emacs-w3
://CX193439-A//build/: $ mkdir OpenOffice
://CX193439-A//build/: $ cd OpenOffice
://CX193439-A//build/OpenOffice/: $ mkdir OpenOffice619
://CX193439-A//build/OpenOffice/: $ cd OpenOffice619
://CX193439-A//build/OpenOffice/OpenOffice619/: $ CVS -d
:ext:cvs.openoffice.org:/cvs co -r OpenOffice619 www
debug: ssh_connect: getuid 511 geteuid 511 anon 1
debug: Connecting to cvs.openoffice.org [64.208.42.22] port 22.
debug: Connection established.
debug: identity file /home/Superbiskit/.ssh/id_dsa type 3
debug: Remote protocol version 1.99, remote software version OpenSSH_2.3.0p1
debug: no match: OpenSSH_2.3.0p1
Enabling compatibility mode for protocol 2.0
debug: Local version string SSH-2.0-OpenSSH_2.3.0p2
debug: Seeding random number generator
debug: send KEXINIT
debug: done
debug: wait KEXINIT
debug: got kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug: got kexinit: ssh-dss
debug: got kexinit:
3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,address@hidden
debug: got kexinit:
3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,address@hidden
debug: got kexinit: hmac-sha1,hmac-md5,address@hidden
debug: got kexinit: hmac-sha1,hmac-md5,address@hidden
debug: got kexinit: none,zlib
debug: got kexinit: none,zlib
debug: got kexinit:
debug: got kexinit:
debug: first kex follow: 0
debug: reserved: 0
debug: done
debug: kex: server->client blowfish-cbc hmac-sha1 none
debug: kex: client->server blowfish-cbc hmac-sha1 none
debug: Sending SSH2_MSG_KEX_DH_GEX_REQUEST.
debug: Wait SSH2_MSG_KEX_DH_GEX_GROUP.
debug: Got SSH2_MSG_KEX_DH_GEX_GROUP.
debug: bits set: 511/1024
debug: Sending SSH2_MSG_KEX_DH_GEX_INIT.
debug: Wait SSH2_MSG_KEX_DH_GEX_REPLY.
debug: Got SSH2_MSG_KEXDH_REPLY.
debug: Host 'cvs.openoffice.org' is known and matches the DSA host key.
debug: bits set: 524/1024
debug: len 55 datafellows 0
debug: ssh_dss_verify: signature correct
debug: Wait SSH2_MSG_NEWKEYS.
debug: GOT SSH2_MSG_NEWKEYS.
debug: send SSH2_MSG_NEWKEYS.
debug: done: send SSH2_MSG_NEWKEYS.
debug: done: KEX2.
debug: send SSH2_MSG_SERVICE_REQUEST
debug: service_accept: ssh-userauth
debug: got SSH2_MSG_SERVICE_ACCEPT
debug: authentications that can continue: publickey,password
debug: next auth method to try is publickey
debug: userauth_pubkey_agent: trying agent key /home/Superbiskit/.ssh/id_dsa
debug: ssh-userauth2 successfull: method publickey
debug: fd 5 setting O_NONBLOCK
debug: fd 7 setting O_NONBLOCK
debug: channel 0: new [client-session]
debug: send channel open 0
debug: Entering interactive session.
debug: client_init id 0 arg 0
debug: Requesting authentication agent forwarding.
debug: Sending command: cvs server
debug: channel 0: open confirm rwindow 0 rmax 16384
Killed by signal 15.
debug: Calling cleanup 0x415188(0x0)
debug: Calling cleanup 0x418330(0x0)
CVS [checkout aborted]: received termination signal
://CX193439-A//build/OpenOffice/OpenOffice619/: $ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
730217 1 730217 4294195463 0 511 10:11:59 /usr/bin/BASH
760537 1 760537 4294206759 -1 511 10:15:12 /usr/bin/SSH-AGENT
766989 730217 766989 4294265867 0 511 10:15:13
/USR/LOCAL/I686-PC-CYGWIN/BIN/XEMACS-21.1.13
538453 766989 538453 4294395107 1 511 10:17:17 /usr/bin/BASH
945385 766989 945385 4294369619 3 511 11:13:12 /usr/bin/BASH
537141 538453 537141 4294356299 1 511 11:31:28 /usr/bin/PS
://CX193439-A//build/OpenOffice/OpenOffice619/: $ ls
://CX193439-A//build/OpenOffice/OpenOffice619/: $ CVS -t -d
:ext:cvs.openoffice.org:/cvs co -r OpenOffice619 www whiteboard install
CVS checkout: notice: main loop with CVSROOT=:ext:cvs.openoffice.org:/cvs
-> Starting server: /usr/bin/SSH cvs.openoffice.org cvs server
debug: ssh_connect: getuid 511 geteuid 511 anon 1
debug: Connecting to cvs.openoffice.org [64.208.42.22] port 22.
debug: Connection established.
debug: identity file /home/Superbiskit/.ssh/id_dsa type 3
debug: Remote protocol version 1.99, remote software version OpenSSH_2.3.0p1
debug: no match: OpenSSH_2.3.0p1
Enabling compatibility mode for protocol 2.0
debug: Local version string SSH-2.0-OpenSSH_2.3.0p2
debug: Seeding random number generator
debug: send KEXINIT
debug: done
debug: wait KEXINIT
debug: got kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug: got kexinit: ssh-dss
debug: got kexinit:
3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,address@hidden
debug: got kexinit:
3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,address@hidden
debug: got kexinit: hmac-sha1,hmac-md5,address@hidden
debug: got kexinit: hmac-sha1,hmac-md5,address@hidden
debug: got kexinit: none,zlib
debug: got kexinit: none,zlib
debug: got kexinit:
debug: got kexinit:
debug: first kex follow: 0
debug: reserved: 0
debug: done
debug: kex: server->client blowfish-cbc hmac-sha1 none
debug: kex: client->server blowfish-cbc hmac-sha1 none
debug: Sending SSH2_MSG_KEX_DH_GEX_REQUEST.
debug: Wait SSH2_MSG_KEX_DH_GEX_GROUP.
debug: Got SSH2_MSG_KEX_DH_GEX_GROUP.
debug: bits set: 507/1024
debug: Sending SSH2_MSG_KEX_DH_GEX_INIT.
debug: Wait SSH2_MSG_KEX_DH_GEX_REPLY.
debug: Got SSH2_MSG_KEXDH_REPLY.
debug: Host 'cvs.openoffice.org' is known and matches the DSA host key.
debug: bits set: 521/1024
debug: len 55 datafellows 0
debug: ssh_dss_verify: signature correct
debug: Wait SSH2_MSG_NEWKEYS.
debug: GOT SSH2_MSG_NEWKEYS.
debug: send SSH2_MSG_NEWKEYS.
debug: done: send SSH2_MSG_NEWKEYS.
debug: done: KEX2.
debug: send SSH2_MSG_SERVICE_REQUEST
debug: service_accept: ssh-userauth
debug: got SSH2_MSG_SERVICE_ACCEPT
debug: authentications that can continue: publickey,password
debug: next auth method to try is publickey
debug: userauth_pubkey_agent: trying agent key /home/Superbiskit/.ssh/id_dsa
debug: ssh-userauth2 successfull: method publickey
debug: fd 5 setting O_NONBLOCK
debug: fd 7 setting O_NONBLOCK
debug: channel 0: new [client-session]
debug: send channel open 0
debug: Entering interactive session.
debug: client_init id 0 arg 0
debug: Requesting authentication agent forwarding.
debug: Sending command: cvs server
debug: channel 0: open confirm rwindow 0 rmax 16384
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Almost connected, but not quite.,
David A. Cobb <=