[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS hangs on exit when using SSH

From: Ken Williams
Subject: Re: CVS hangs on exit when using SSH
Date: Mon, 2 Dec 2002 12:52:55 +1100

Hi Wayne,

I don't thing that's it. ssh only honors escape characters at a login session, not when executing remote commands. ssh(1) says:

     When the user's identity has been accepted by the server, the server
either executes the given command, or logs into the machine and gives the user a normal shell on the remote machine. All communication with the
     remote command or shell will be automatically encrypted.

If a pseudo-terminal has been allocated (normal login session), the user
     may use the escape characters noted below.

If no pseudo tty has been allocated, the session is transparent and can
     be used to reliably transfer binary data.

I've used ssh and cvs in this configuration to transfer arbitrary binary data before.


On Monday, December 2, 2002, at 12:46  PM, Wayne Johnson wrote:

Just a guess, have you disabled the escape sequence in SSH?

--- Ken Williams <address@hidden> wrote:

I've seen this problem several times in various CVS and SSH mailing
lists, but none of the threads I've found seem to end in a solution.

I'm using CVS 1.10 `Halibut' as a client, connecting to CVS 1.11.2 on a

server via SSH.  Both the client and server are running OpenSSH_3.4p1,
SSH protocols 1.5/2.0, OpenSSL 0x0090605f.  The client is a Mac OS X
10.1.5 machine and the server is running Red Hat Linux release 8.0.

When I issue any CVS command (update, checkout, diff, etc.), the
connection hangs indefinitely when the command is [nearly?] completed.

It happens reliably on this client, but never happens on another client

with identical software versions.

When I set CVS_RSH to a shell script that does 'exec ssh -vvv "$@"', I
get the following output (I hit Ctrl-C after about 30 seconds):

reply via email to

[Prev in Thread] Current Thread [Next in Thread]