On Tue, 12 Nov 2019 at 20:31, Darren Tucker <dtuc...@dtucker.net> wrote:
[..]
> I'd start by cranking up the client side log level (LogLevel debug3 in
> ~/.ssh/config) and use CVS_RSH="ssh -E logfile" or ssh -y to send the
> logs to syslog.
>
> Is this a public mirror, and if so which one?

bleh, it doesn't support spaces, at least not in the obvious way, so
something like

$ cat ~/bin/ssh-with-logging
#!/bin/sh
exec ssh -vvv -E /tmp/ssh.log $@

$ CVS_RSH=~/bin/ssh-with-logging cvs -d
anon...@anoncvs.spacehopper.org:/cvs up -dPA

I got this on the second try although the log is not very helpful.
I'd suggest checking your MaxStartups setting in sshd_config and
comparing the settings to the numbers of connections you have.

$ CVS_RSH=~/bin/ssh-with-logging cvs -d
anon...@anoncvs.spacehopper.org:/cvs co src
cvs [checkout aborted]: end of file from server (consult above messages if any)
$ cat /tmp/ssh.log
OpenSSH_8.1, LibreSSL 3.0.2
debug1: Reading configuration data /home/dtucker/.ssh/config
debug1: /home/dtucker/.ssh/config line 1: Applying options for *
debug1: /home/dtucker/.ssh/config line 3: Deprecated option "useroaming"
debug3: kex names ok: [diffie-hellman-group1-sha1,diffie-hellman-group14-sha1]
debug2: checking match for 'Host gate' host anoncvs.spacehopper.org
originally anoncvs.spacehopper.org
debug3: /home/dtucker/.ssh/config line 99: not matched 'Host
"anoncvs.spacehopper.org"'
debug2: match not found
debug3: kex names ok: [curve25519-sha...@libssh.org,ecdh-sha2-nistp256]
debug3: kex names ok: [ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256]
debug3: kex names ok: [diffie-hellman-group1-sha1]
debug3: kex names ok: [diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]
debug1: /home/dtucker/.ssh/config line 394: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Security key provider $SSH_SK_PROVIDER did not resolve; disabling
debug2: resolving "anoncvs.spacehopper.org" port 22
debug2: ssh_connect_direct
debug1: Connecting to anoncvs.spacehopper.org [195.95.187.28] port 22.
debug2: fd 4 setting O_NONBLOCK
debug1: fd 4 clearing O_NONBLOCK
debug1: Connection established.
debug3: timeout: 29385 ms remain after connect
debug1: identity file /home/dtucker/.ssh/id_rsa type 0
debug1: identity file /home/dtucker/.ssh/id_rsa-cert type -1
debug1: identity file /home/dtucker/.ssh/id_dsa type 1
debug1: identity file /home/dtucker/.ssh/id_dsa-cert type -1
debug1: identity file /home/dtucker/.ssh/id_ecdsa type 2
debug1: identity file /home/dtucker/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/dtucker/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/dtucker/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/dtucker/.ssh/id_ed25519 type 3
debug1: identity file /home/dtucker/.ssh/id_ed25519-cert type -1
debug1: identity file /home/dtucker/.ssh/id_xmss type -1
debug1: identity file /home/dtucker/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.1
kex_exchange_identification: Connection closed by remote host

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Reply via email to