Hello,

I've been trying to setup CVS to work with SSH:

        Windows NT 4.0 client to Lunux 2.2.12 server

On the Windows side I'm using CVS 1.10.5 client and
SSH 2.0 client.  I've created my DSA key-pair, installed
them in my HOME directory.  I can use ssh2 to execute
commands on the Linux server, I can use scp2 to copy. All
other command-line utilities are working (as best as I
can tell, also).

I'm using Cygwin command-line versions of SSH:

        cygwin-1.1.3-1  -->  cygwin1.dll
        ssh-2_0_13-cygwinb20  -->  ssh2, scp2, etc.

On Linux 2.2.12 server I've installed:

        CVS 1.10.8 server
        SSH 2.2 server

Here is the verbose output from "sshd2 -v" on the Linux server
(before the CVS client tries to execute "cvs checkout":

   WARNING: Development-time debugging not compiled in.
   WARNING: To enable, configure with --enable-debug and recompile.
   debug: Reading private host key from /etc/ssh2/hostkey
   debug: Key comment: 1024-bit dsa hostkey
   debug: SshUnixConfig/sshunixconfig.c:270/ssh_server_load_host_key: Reading
   public host key from: /etc/ssh2/hostkey.pub
   debug: Becoming server.
   debug: Creating listener
   debug: Listener created
   debug: no udp listener created.
   debug: Running event loop

At this point it sits waiting for a connection.

Next, on the Windows client side, I run this command: ("ssh220" is a module)

    bash-2.01$ cvs -d :ext:tfox@tundra:/export/cvs co ssh220

After entering the user password (same for passphrase, also)
(here is the debug info from the client side):

    tfox's password: "user password" <CR>

    debug: Environment:
    debug:   HOME=/home/tfox
    debug:   USER=tfox
    debug:   LOGNAME=tfox
    debug:   PATH=/usr/bin:/bin:/usr/local/ssh2/bin
    debug:   MAIL=/var/spool/mail/tfox
    debug:   SHELL=/bin/bash
    debug:   SSH2_CLIENT=209.10.210.133 1252 209.10.210.168 22
    ' from cvs serverning: unrecognized response `ok

At this point the client just sits (until I hit Control-C).

After the password is entered on the client the servers verbose output
displays the following:

   debug: Sshd2/sshd2.c:727/new_connection_callback: Wrapping stream with ssh_server_wrap...
   debug: ssh_server_wrap: creating transport protocol
   debug: ssh_server_wrap: creating userauth protocol
   debug: Sshd2/sshd2.c:738/new_connection_callback: done.
   debug: new_connection_callback returning
   debug: Remote version: SSH-1.99-2.0.13 (non-commercial)

Now Windows client is sitting with the "unrecognized response" (ok) message
and the Linux server is sitting with the above message.  On the Linux server
in the /var/log/messages logfile the following is entered after client hits
<CR> following user-password:

   Aug  3 12:50:20 tundra sshd2[4617]: connection from "209.10.210.133"  (Windows client)
   Aug  3 12:50:37 tundra sshd2[4617]: User tfox's local password accepted.
   Aug  3 12:50:37 tundra sshd2[4617]: Password authentication for user tfox accepted.

When I hit Control-C on Windows client I get the following message:

    cvs [checkout aborted]: end of file from server
    (consult above messages if any)

On the Linux server I get the following from the verbose debug output
(after "Control-C"):

    debug: Sshd2/sshd2.c:89/server_disconnect: locally_generated = TRUE
    debug: ssh_pipe_stream_destroy
    debug: ssh_sigchld_real_callback
    debug: ssh_sigchld_process_pid: no handler for pid 4573 code 0
    debug: Exiting event loop

The "from cvs serverning: unrecognized response `ok" debug output it seems
that SSH received an "ok" from CVS server and tried to pass it to client
but it was not recognized.

Has anyone else had this problem and if so can you tell me how to resolve
this problem.

Thanks,
    -Anthony
 
 

Reply via email to