Summary: | net-misc/openssh-7.7_p1: Cannot connect when using VMware | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Lothian <mike> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | chris |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mike Lothian
2018-04-24 10:41:36 UTC
I cannot reproduce, I was able to push to gitlab.
1. Please show us `emerge --info net-misc/openssh`.
2. Do
> echo 'ssh -vvv $*' > /tmp/debug_ssh && chmod +x /tmp/debug_ssh
> GIT_SSH="/tmp/debug_ssh" git push...
...and show us the output.
emerge --info net-misc/openssh Portage 2.3.31 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-7.3.0, glibc-2.27-r1, 4.16.3-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.16.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-6300U_CPU_@_2.40GHz-with-gentoo-2.4.1 KiB Mem: 8169872 total, 7143724 free KiB Swap: 0 total, 0 free Head commit of repository gentoo: 3266c659549f176802d89d6b4c0e0f01f52aaaad Timestamp of repository FireBurn: Mon, 23 Apr 2018 18:50:14 +0000 Head commit of repository FireBurn: 5fd61a7d63bf7de7e7e3bcd8c1f5ce49235879f4 Timestamp of repository kde: Mon, 23 Apr 2018 18:51:53 +0000 Head commit of repository kde: 68a7db45c675c2490f74297ea0057a11946cf7fe Timestamp of repository qt: Mon, 23 Apr 2018 18:52:38 +0000 Head commit of repository qt: cf8c36b517edddf74850b6d16d0d0044090a6747 sh bash 4.4_p19 ld GNU gold (Gentoo 2.30 p1 2.30.0) 1.15 app-shells/bash: 4.4_p19::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.14-r2::gentoo, 3.6.5-r1::gentoo dev-util/cmake: 3.11.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r1::gentoo sys-devel/gcc: 7.3.0-r1::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo/gentoo priority: -1000 FireBurn location: /var/db/repos/FireBurn sync-type: git sync-uri: https://github.com/gentoo-mirror/FireBurn.git masters: gentoo kde location: /var/db/repos/kde sync-type: git sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo qt location: /var/db/repos/qt sync-type: git sync-uri: https://github.com/gentoo-mirror/qt.git masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask-write --with-bdeps y --complete-graph y --keep-going" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" LINGUAS="en-GB en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi activities adobe-cff alsa amd64 berkdb branding bzip2 cairo cdr cleartype_hinting cli connection-sharing crypt cups custom-cflags cxx dbus declarative dri dts dvdr egl emboss encode evdev exif fam ffmpeg flac fontconfig fortran gbm gdbm gif git glamor gnutls gold gpm gstreamer gtk http2 iconv icu ipv6 ithreads javafx jce jpeg kipi lcms ldap libinput libkms libnotify lm_sensors lzma lzo mad minizip mng modules mp3 mp4 mpeg mpx mtp multilib ncurses network networkmanager nls nptl nsplugin ogg opengl openmp opus pam pango pcre pcre16 pdf phonon plasma png policykit ppds proprietary-codecs pulseaudio qml qrcode qt3support qt5 readline realtime samba sdl seccomp secure-delete source spell ssl startup-notification svg sync-plugin-portage syslog system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-libvpx system-sqlite systemd sysv-utils tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb user-session vmware_guest_linux vorbis wayland webdav widevine widgets wifi winbind x264 xa xattr xcb xcomposite xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="access_compat actions alias asis auth_basic auth_digest authn_alias authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbd authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cache_socache cern_meta cgi cgid charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers http2 ident imagemap include info lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat log_config log_forensic logio macro mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_html proxy_http proxy_scgi proxy_wstunnel ratelimit remoteip reqtimeout rewrite setenvif slotmem_shm socache_shmcb speling status substitute unique_id unixd userdir usertrack version vhost_alias xml2enc" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en-GB en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= net-misc/openssh-7.7_p1-r2::gentoo was built with the following: USE="X pam pie ssl -X509 -audit -bindist -debug -hpn -kerberos (-ldap) -ldns -libedit -libressl -livecd -sctp (-selinux) -skey -static -test" ABI_X86="(64)" debug1: kex: client->server cipher: aes128-ctr MAC: umac-64@openssh.com compression: none debug3: send packet: type 34 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<3072<8192) sent debug3: receive packet: type 31 debug1: got SSH2_MSG_KEX_DH_GEX_GROUP debug2: bits set: 1558/3072 debug3: send packet: type 32 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug3: receive packet: type 33 debug1: got SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: ssh-rsa SHA256:K6H3nTz3wDOQwYBHJ1Z8ZVrJRPce4t4h7YyyXOb0Gks debug3: hostkeys_foreach: reading file "/home/fireburn/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /home/fireburn/.ssh/known_hosts:50 debug3: load_hostkeys: loaded 1 keys from gitlab.mwe.redacted.com debug3: hostkeys_foreach: reading file "/home/fireburn/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /home/fireburn/.ssh/known_hosts:31 debug3: load_hostkeys: loaded 1 keys from 10.139.25.1 debug1: Host 'gitlab.mwe.redacted.com' is known and matches the RSA host key. debug1: Found key in /home/fireburn/.ssh/known_hosts:50 debug2: bits set: 1543/3072 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug1: SSH2_MSG_NEWKEYS received debug2: set_newkeys: mode 0 debug1: rekey after 4294967296 blocks debug2: key: /home/fireburn/.ssh/id_rsa (0x5653ecd131d0), agent debug2: key: /home/fireburn/.ssh/id_dsa ((nil)) debug2: key: /home/fireburn/.ssh/id_ecdsa ((nil)) debug2: key: /home/fireburn/.ssh/id_ed25519 ((nil)) debug2: key: /home/fireburn/.ssh/id_xmss ((nil)) debug3: send packet: type 5 debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: RSA SHA256:8Jl/FeEDLSCH88N/6TJ950Pv2jDvPtszre0+/8H7ys4 /home/fireburn/.ssh/id_rsa debug3: send_pubkey_test debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 4 debug1: Remote: Forced command: /apps/was/gitlab/gitlab-shell/bin/gitlab-shell key-5 debug3: receive packet: type 4 debug1: Remote: Port forwarding disabled. debug3: receive packet: type 4 debug1: Remote: X11 forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Agent forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Pty allocation disabled. debug3: receive packet: type 60 debug1: Server accepts key: pkalg ssh-rsa blen 533 debug2: input_userauth_pk_ok: fp SHA256:8Jl/FeEDLSCH88N/6TJ950Pv2jDvPtszre0+/8H7ys4 debug3: sign_and_send_pubkey: RSA SHA256:8Jl/FeEDLSCH88N/6TJ950Pv2jDvPtszre0+/8H7ys4 debug3: send packet: type 50 debug3: receive packet: type 4 debug1: Remote: Forced command: /apps/was/gitlab/gitlab-shell/bin/gitlab-shell key-5 debug3: receive packet: type 4 debug1: Remote: Port forwarding disabled. debug3: receive packet: type 4 debug1: Remote: X11 forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Agent forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Pty allocation disabled. debug3: receive packet: type 52 debug1: Authentication succeeded (publickey). Authenticated to gitlab.mwe.redacted.com ([10.139.25.1]:22). debug2: fd 5 setting O_NONBLOCK debug2: fd 6 setting O_NONBLOCK debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug3: send packet: type 90 debug1: Requesting no-more-sessions@openssh.com debug3: send packet: type 80 debug1: Entering interactive session. debug1: pledge: network debug3: receive packet: type 91 debug2: channel_input_open_confirmation: channel 0: callback start debug2: fd 3 setting TCP_NODELAY debug3: ssh_packet_set_tos: set IP_TOS 0x20 debug2: client_session2_setup: id 0 debug1: Sending environment. debug3: Ignored env LS_COLORS debug3: Ignored env SSH_CONNECTION debug3: Ignored env _ debug1: Sending env LANG = en_GB.UTF-8 debug2: channel 0: request env confirm 0 debug3: send packet: type 98 debug3: Ignored env LESS debug3: Ignored env DISPLAY debug3: Ignored env OPENGL_PROFILE debug3: Ignored env OLDPWD debug3: Ignored env CONFIG_PROTECT_MASK debug3: Ignored env EDITOR debug3: Ignored env JAVA_HOME debug3: Ignored env GCC_SPECS debug3: Ignored env CVSROOT debug3: Ignored env SSH_AUTH_SOCK debug3: Ignored env XDG_SESSION_ID debug3: Ignored env USER debug3: Ignored env PAGER debug3: Ignored env PWD debug3: Ignored env HOME debug3: Ignored env SSH_CLIENT debug3: Ignored env GIT_SSH debug3: Ignored env GSETTINGS_BACKEND debug3: Ignored env XDG_DATA_DIRS debug3: Ignored env JDK_HOME debug3: Ignored env SSH_TTY debug3: Ignored env _JAVA_OPTIONS debug3: Ignored env MAIL debug3: Ignored env CONFIG_PROTECT debug3: Ignored env TERM debug3: Ignored env SHELL debug3: Ignored env JAVAC debug3: Ignored env MOZ_GMP_PATH debug3: Ignored env SHLVL debug3: Ignored env MANPATH debug3: Ignored env LOGNAME debug3: Ignored env DBUS_SESSION_BUS_ADDRESS debug3: Ignored env XDG_RUNTIME_DIR debug3: Ignored env XDG_CONFIG_DIRS debug3: Ignored env PATH debug3: Ignored env INFOPATH debug3: Ignored env CVSWAS debug3: Ignored env LESSOPEN debug1: Sending command: git-receive-pack 'mwe/ConfigurationFiles.git' debug2: channel 0: request exec confirm 1 debug3: send packet: type 98 debug2: channel_input_open_confirmation: channel 0: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug3: send packet: type 1 packet_write_wait: Connection to 10.139.25.1 port 22: Broken pipe fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Here's the output on net-misc/openssh-7.7_p1-r1 GIT_SSH="/tmp/debug_ssh" git push OpenSSH_7.7p1, OpenSSL 1.0.2o 27 Mar 2018 debug1: Reading configuration data /etc/ssh/ssh_config debug2: resolving "gitlab.mwe.redacted.com" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to gitlab.mwe.redacted.com [10.139.25.1] port 22. debug1: Connection established. debug1: identity file /home/fireburn/.ssh/id_rsa type 0 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_ed25519-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_xmss type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_xmss-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_7.7 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3 debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000 debug2: fd 3 setting O_NONBLOCK debug1: Authenticating to gitlab.mwe.redacted.com:22 as 'wasadm' debug3: hostkeys_foreach: reading file "/home/fireburn/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /home/fireburn/.ssh/known_hosts:50 debug3: load_hostkeys: loaded 1 keys from gitlab.mwe.redacted.com debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c debug2: host key algorithms: ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com,zlib debug2: compression stoc: none,zlib@openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: host key algorithms: ssh-rsa,ssh-dss debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: MACs ctos: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: MACs stoc: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: compression ctos: none,zlib@openssh.com debug2: compression stoc: none,zlib@openssh.com debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: diffie-hellman-group-exchange-sha256 debug1: kex: host key algorithm: ssh-rsa debug1: kex: server->client cipher: aes128-ctr MAC: umac-64@openssh.com compression: none debug1: kex: client->server cipher: aes128-ctr MAC: umac-64@openssh.com compression: none debug3: send packet: type 34 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<3072<8192) sent debug3: receive packet: type 31 debug1: got SSH2_MSG_KEX_DH_GEX_GROUP debug2: bits set: 1556/3072 debug3: send packet: type 32 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug3: receive packet: type 33 debug1: got SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: ssh-rsa SHA256:K6H3nTz3wDOQwYBHJ1Z8ZVrJRPce4t4h7YyyXOb0Gks debug3: hostkeys_foreach: reading file "/home/fireburn/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /home/fireburn/.ssh/known_hosts:50 debug3: load_hostkeys: loaded 1 keys from gitlab.mwe.redacted.com debug3: hostkeys_foreach: reading file "/home/fireburn/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /home/fireburn/.ssh/known_hosts:31 debug3: load_hostkeys: loaded 1 keys from 10.139.25.1 debug1: Host 'gitlab.mwe.redacted.com' is known and matches the RSA host key. debug1: Found key in /home/fireburn/.ssh/known_hosts:50 debug2: bits set: 1503/3072 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug1: SSH2_MSG_NEWKEYS received debug2: set_newkeys: mode 0 debug1: rekey after 4294967296 blocks debug2: key: /home/fireburn/.ssh/id_rsa (0x5560ff5231d0), agent debug2: key: /home/fireburn/.ssh/id_dsa ((nil)) debug2: key: /home/fireburn/.ssh/id_ecdsa ((nil)) debug2: key: /home/fireburn/.ssh/id_ed25519 ((nil)) debug2: key: /home/fireburn/.ssh/id_xmss ((nil)) debug3: send packet: type 5 debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: RSA SHA256:8Jl/FeEDLSCH88N/6TJ950Pv2jDvPtszre0+/8H7ys4 /home/fireburn/.ssh/id_rsa debug3: send_pubkey_test debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 4 debug1: Remote: Forced command: /apps/was/gitlab/gitlab-shell/bin/gitlab-shell key-5 debug3: receive packet: type 4 debug1: Remote: Port forwarding disabled. debug3: receive packet: type 4 debug1: Remote: X11 forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Agent forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Pty allocation disabled. debug3: receive packet: type 60 debug1: Server accepts key: pkalg ssh-rsa blen 533 debug2: input_userauth_pk_ok: fp SHA256:8Jl/FeEDLSCH88N/6TJ950Pv2jDvPtszre0+/8H7ys4 debug3: sign_and_send_pubkey: RSA SHA256:8Jl/FeEDLSCH88N/6TJ950Pv2jDvPtszre0+/8H7ys4 debug3: send packet: type 50 debug3: receive packet: type 4 debug1: Remote: Forced command: /apps/was/gitlab/gitlab-shell/bin/gitlab-shell key-5 debug3: receive packet: type 4 debug1: Remote: Port forwarding disabled. debug3: receive packet: type 4 debug1: Remote: X11 forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Agent forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Pty allocation disabled. debug3: receive packet: type 52 debug1: Authentication succeeded (publickey). Authenticated to gitlab.mwe.redacted.com ([10.139.25.1]:22). debug2: fd 5 setting O_NONBLOCK debug2: fd 6 setting O_NONBLOCK debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug3: send packet: type 90 debug1: Requesting no-more-sessions@openssh.com debug3: send packet: type 80 debug1: Entering interactive session. debug1: pledge: network debug3: receive packet: type 91 debug2: channel_input_open_confirmation: channel 0: callback start debug2: fd 3 setting TCP_NODELAY debug3: ssh_packet_set_tos: set IP_TOS 0x08 debug2: client_session2_setup: id 0 debug1: Sending environment. debug3: Ignored env LS_COLORS debug3: Ignored env SSH_CONNECTION debug3: Ignored env _ debug1: Sending env LANG = en_GB.UTF-8 debug2: channel 0: request env confirm 0 debug3: send packet: type 98 debug3: Ignored env LESS debug3: Ignored env DISPLAY debug3: Ignored env OPENGL_PROFILE debug3: Ignored env OLDPWD debug3: Ignored env CONFIG_PROTECT_MASK debug3: Ignored env EDITOR debug3: Ignored env JAVA_HOME debug3: Ignored env GCC_SPECS debug3: Ignored env CVSROOT debug3: Ignored env SSH_AUTH_SOCK debug3: Ignored env XDG_SESSION_ID debug3: Ignored env USER debug3: Ignored env PAGER debug3: Ignored env PWD debug3: Ignored env HOME debug3: Ignored env SSH_CLIENT debug3: Ignored env GIT_SSH debug3: Ignored env GSETTINGS_BACKEND debug3: Ignored env XDG_DATA_DIRS debug3: Ignored env JDK_HOME debug3: Ignored env SSH_TTY debug3: Ignored env _JAVA_OPTIONS debug3: Ignored env MAIL debug3: Ignored env CONFIG_PROTECT debug3: Ignored env TERM debug3: Ignored env SHELL debug3: Ignored env JAVAC debug3: Ignored env MOZ_GMP_PATH debug3: Ignored env SHLVL debug3: Ignored env MANPATH debug3: Ignored env LOGNAME debug3: Ignored env DBUS_SESSION_BUS_ADDRESS debug3: Ignored env XDG_RUNTIME_DIR debug3: Ignored env XDG_CONFIG_DIRS debug3: Ignored env PATH debug3: Ignored env INFOPATH debug3: Ignored env CVSWAS debug3: Ignored env LESSOPEN debug1: Sending command: git-receive-pack 'mwe/ConfigurationFiles.git' debug2: channel 0: request exec confirm 1 debug3: send packet: type 98 debug2: channel_input_open_confirmation: channel 0: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug2: channel 0: rcvd adjust 2097152 debug3: receive packet: type 99 debug2: channel_input_status_confirm: type 99 id 0 debug2: exec request accepted on channel 0 debug2: channel 0: read<=0 rfd 5 len 0 debug2: channel 0: read failed debug2: channel 0: close_read debug2: channel 0: input open -> drain debug2: channel 0: ibuf empty debug2: channel 0: send eof debug3: send packet: type 96 debug2: channel 0: input drain -> closed debug3: receive packet: type 98 debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug3: receive packet: type 96 debug2: channel 0: rcvd eof debug2: channel 0: output open -> drain debug2: channel 0: obuf empty debug2: channel 0: close_write debug2: channel 0: output drain -> closed debug3: receive packet: type 97 debug2: channel 0: rcvd close debug3: channel 0: will not send data after close debug2: channel 0: almost dead debug2: channel 0: gc: notify user debug2: channel 0: gc: user detached debug2: channel 0: send close debug3: send packet: type 97 debug2: channel 0: is dead debug2: channel 0: garbage collecting debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1) debug3: send packet: type 1 debug1: fd 0 clearing O_NONBLOCK debug3: fd 1 is not O_NONBLOCK Transferred: sent 3960, received 3808 bytes, in 0.5 seconds Bytes per second: sent 7674.0, received 7379.5 debug1: Exit status 0 Everything up-to-date Here's the bits which differ Broken debug2: bits set: 1558/3072 debug2: bits set: 1543/3072 debug2: key: /home/fireburn/.ssh/id_rsa (0x5653ecd131d0), agent debug3: ssh_packet_set_tos: set IP_TOS 0x20 Working debug2: bits set: 1556/3072 debug2: bits set: 1503/3072 debug2: key: /home/fireburn/.ssh/id_rsa (0x5560ff5231d0), agent debug3: ssh_packet_set_tos: set IP_TOS 0x08 Based on your USE flags you are basically using vanilla openssh-7.7_p1 with merged upstream patches (i.e. stuff which will be part of next patch level or next release). However, your output is incomplete. I am missing the initialization to understand if you have set custom settings. My output: > $ GIT_SSH="$PWD/ssh" git push -u origin master > OpenSSH_7.7p1, OpenSSL 1.0.2o 27 Mar 2018 > debug1: Reading configuration data /etc/ssh/ssh_config > debug2: resolving "gitlab.com" port 22 > debug2: ssh_connect_direct: needpriv 0 > debug1: Connecting to gitlab.com [52.167.219.168] port 22. > debug1: Connection established. > debug1: key_load_public: No such file or directory > debug1: identity file /home/thomas/.ssh/id_rsa type -1 > debug1: key_load_public: No such file or directory > debug1: identity file /home/thomas/.ssh/id_rsa-cert type -1 > debug1: key_load_public: No such file or directory > debug1: identity file /home/thomas/.ssh/id_dsa type -1 > debug1: key_load_public: No such file or directory > debug1: identity file /home/thomas/.ssh/id_dsa-cert type -1 > debug1: key_load_public: No such file or directory > debug1: identity file /home/thomas/.ssh/id_ecdsa type -1 > debug1: key_load_public: No such file or directory > debug1: identity file /home/thomas/.ssh/id_ecdsa-cert type -1 > debug1: key_load_public: No such file or directory > debug1: identity file /home/thomas/.ssh/id_ed25519 type -1 > debug1: key_load_public: No such file or directory > debug1: identity file /home/thomas/.ssh/id_ed25519-cert type -1 > debug1: key_load_public: No such file or directory > debug1: identity file /home/thomas/.ssh/id_xmss type -1 > debug1: key_load_public: No such file or directory > debug1: identity file /home/thomas/.ssh/id_xmss-cert type -1 > debug1: Local version string SSH-2.0-OpenSSH_7.7 > debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.4 > debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.4 pat OpenSSH* compat 0x04000000 > debug2: fd 3 setting O_NONBLOCK > debug1: Authenticating to gitlab.com:22 as 'git' > debug3: hostkeys_foreach: reading file "/home/thomas/.ssh/known_hosts" > debug3: record_hostkey: found key type ECDSA in file /home/thomas/.ssh/known_hosts:7 > debug3: load_hostkeys: loaded 1 keys from gitlab.com > debug3: order_hostkeyalgs: prefer hostkeyalgs: > ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 > debug3: send packet: type 20 > debug1: SSH2_MSG_KEXINIT sent > debug3: receive packet: type 20 > debug1: SSH2_MSG_KEXINIT received > debug2: local client KEXINIT proposal > debug2: KEX algorithms: > curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c > debug2: host key algorithms: > ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa > debug2: ciphers ctos: > chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com > debug2: ciphers stoc: > chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com > debug2: MACs ctos: > umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 > debug2: MACs stoc: > umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 > debug2: compression ctos: none,zlib@openssh.com,zlib > debug2: compression stoc: none,zlib@openssh.com,zlib > debug2: languages ctos: > debug2: languages stoc: > debug2: first_kex_follows 0 > debug2: reserved 0 > debug2: peer server KEXINIT proposal > debug2: KEX algorithms: > curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 > debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 > debug2: ciphers ctos: > chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com > debug2: ciphers stoc: > chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com > debug2: MACs ctos: > umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 > debug2: MACs stoc: > umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 > debug2: compression ctos: none,zlib@openssh.com > debug2: compression stoc: none,zlib@openssh.com > debug2: languages ctos: > debug2: languages stoc: > debug2: first_kex_follows 0 > debug2: reserved 0 > debug1: kex: algorithm: curve25519-sha256@libssh.org > debug1: kex: host key algorithm: ecdsa-sha2-nistp256 > debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none > debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none > debug3: send packet: type 30 > debug1: expecting SSH2_MSG_KEX_ECDH_REPLY > debug3: receive packet: type 31 > debug1: Server host key: ecdsa-sha2-nistp256 SHA256:HbW3g8zUjNSksFbqTiUWPWg2Bq1x8xdGUrliXFzSnUw > debug3: hostkeys_foreach: reading file "/home/thomas/.ssh/known_hosts" > debug3: record_hostkey: found key type ECDSA in file /home/thomas/.ssh/known_hosts:7 > debug3: load_hostkeys: loaded 1 keys from gitlab.com > debug3: hostkeys_foreach: reading file "/home/thomas/.ssh/known_hosts" > debug3: record_hostkey: found key type ECDSA in file /home/thomas/.ssh/known_hosts:24 > debug3: load_hostkeys: loaded 1 keys from 52.167.219.168 > debug1: Host 'gitlab.com' is known and matches the ECDSA host key. > debug1: Found key in /home/thomas/.ssh/known_hosts:7 > debug3: send packet: type 21 > debug2: set_newkeys: mode 1 > debug1: rekey after 134217728 blocks > debug1: SSH2_MSG_NEWKEYS sent > debug1: expecting SSH2_MSG_NEWKEYS > debug3: receive packet: type 21 > debug1: SSH2_MSG_NEWKEYS received > debug2: set_newkeys: mode 0 > debug1: rekey after 134217728 blocks > debug2: key: /my/agent/my_key.id (0x563c6be03be0), agent > debug2: key: /home/thomas/.ssh/id_rsa ((nil)) > debug2: key: /home/thomas/.ssh/id_dsa ((nil)) > debug2: key: /home/thomas/.ssh/id_ecdsa ((nil)) > debug2: key: /home/thomas/.ssh/id_ed25519 ((nil)) > debug2: key: /home/thomas/.ssh/id_xmss ((nil)) > debug3: send packet: type 5 > debug3: receive packet: type 7 > debug1: SSH2_MSG_EXT_INFO received > debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512> > debug3: receive packet: type 6 > debug2: service_accept: ssh-userauth > debug1: SSH2_MSG_SERVICE_ACCEPT received > debug3: send packet: type 50 > debug3: receive packet: type 51 > debug1: Authentications that can continue: publickey > debug3: start over, passed a different list publickey > debug3: preferred publickey,keyboard-interactive,password > debug3: authmethod_lookup publickey > debug3: remaining preferred: keyboard-interactive,password > debug3: authmethod_is_enabled publickey > debug1: Next authentication method: publickey > debug1: Offering public key: RSA SHA256:DlROMf1Ad... > /my/agent/my_key.id > debug3: send_pubkey_test > debug3: send packet: type 50 > debug2: we sent a publickey packet, wait for reply > debug3: receive packet: type 60 > debug1: Server accepts key: pkalg rsa-sha2-512 blen 532 > debug2: input_userauth_pk_ok: fp SHA256:DlROMf1Ad... > debug3: sign_and_send_pubkey: RSA SHA256:DlROMf1Ad... > debug3: send packet: type 50 > debug3: receive packet: type 52 > debug1: Authentication succeeded (publickey). > Authenticated to gitlab.com ([52.167.219.168]:22). > debug2: fd 5 setting O_NONBLOCK > debug2: fd 6 setting O_NONBLOCK > debug1: channel 0: new [client-session] > debug3: ssh_session2_open: channel_new: 0 > debug2: channel 0: send open > debug3: send packet: type 90 > debug1: Requesting no-more-sessions@openssh.com > debug3: send packet: type 80 > debug1: Entering interactive session. > debug1: pledge: network > debug3: receive packet: type 80 > debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0 > debug3: receive packet: type 4 > debug1: Remote: Forced command. > debug3: receive packet: type 4 > debug1: Remote: Port forwarding disabled. > debug3: receive packet: type 4 > debug1: Remote: X11 forwarding disabled. > debug3: receive packet: type 4 > debug1: Remote: Agent forwarding disabled. > debug3: receive packet: type 4 > debug1: Remote: PTY allocation disabled. > debug3: receive packet: type 4 > debug1: Remote: Forced command. > debug3: receive packet: type 4 > debug1: Remote: Port forwarding disabled. > debug3: receive packet: type 4 > debug1: Remote: X11 forwarding disabled. > debug3: receive packet: type 4 > debug1: Remote: Agent forwarding disabled. > debug3: receive packet: type 4 > debug1: Remote: PTY allocation disabled. > debug3: receive packet: type 91 > debug2: channel_input_open_confirmation: channel 0: callback start > debug2: fd 3 setting TCP_NODELAY > debug3: ssh_packet_set_tos: set IP_TOS 0x00 > debug2: client_session2_setup: id 0 > debug1: Sending environment. > debug3: Ignored env HISTFILESIZE > debug3: Ignored env LESSOPEN > debug3: Ignored env HISTTIMEFORMAT > debug3: Ignored env LESSCOLORIZER > debug3: Ignored env OPENGL_PROFILE > debug3: Ignored env TMUX > debug3: Ignored env MAIL > debug3: Ignored env SSH_CLIENT > debug3: Ignored env USER > debug3: Ignored env CONFIG_PROTECT > debug3: Ignored env SHLVL > debug3: Ignored env HOME > debug3: Ignored env LESS > debug3: Ignored env OLDPWD > debug3: Ignored env SSH_TTY > debug3: Ignored env PAGER > debug3: Ignored env CONFIG_PROTECT_MASK > debug3: Ignored env INFOPATH > debug3: Ignored env LOGNAME > debug3: Ignored env _ > debug3: Ignored env TNS_ADMIN > debug3: Ignored env TERM > debug3: Ignored env GIT_SSH > debug3: Ignored env JAVAC > debug3: Ignored env PATH > debug3: Ignored env ANT_HOME > debug3: Ignored env QT_GRAPHICSSYSTEM > debug3: Ignored env GCC_SPECS > debug3: Ignored env HISTSIZE > debug1: Sending env LANG = en_US.UTF-8 > debug2: channel 0: request env confirm 0 > debug3: send packet: type 98 > debug3: Ignored env LS_COLORS > debug3: Ignored env MANPAGER > debug3: Ignored env SSH_AUTH_SOCK > debug3: Ignored env ORACLE_HOME > debug3: Ignored env SHELL > debug3: Ignored env GPG_TTY > debug3: Ignored env JAVA_HOME > debug3: Ignored env PWD > debug3: Ignored env SSH_CONNECTION > debug1: Sending env LC_NUMERIC = de_DE.UTF-8 > debug2: channel 0: request env confirm 0 > debug3: send packet: type 98 > debug1: Sending env LC_PAPER = de_DE.UTF-8 > debug2: channel 0: request env confirm 0 > debug3: send packet: type 98 > debug3: Ignored env OPENCL_PROFILE > debug3: Ignored env MANPATH > debug3: Ignored env TMUX_PANE > debug3: Ignored env EDITOR > debug3: Ignored env JDK_HOME > debug3: Ignored env LESSCOLOR > debug1: Sending command: git-receive-pack 'Whissi/test.git' > debug2: channel 0: request exec confirm 1 > debug3: send packet: type 98 > debug2: channel_input_open_confirmation: channel 0: callback done > debug2: channel 0: open confirm rwindow 0 rmax 32768 > debug2: channel 0: rcvd adjust 2097152 > debug3: receive packet: type 99 > debug2: channel_input_status_confirm: type 99 id 0 > debug2: exec request accepted on channel 0 > Counting objects: 3, done. > Writing objects: 100% (3/3), 1.00 KiB | 1.00 MiB/s, done. > Total 3 (delta 0), reused 0 (delta 0) > debug2: channel 0: read<=0 rfd 5 len 0 > debug2: channel 0: read failed > debug2: channel 0: close_read > debug2: channel 0: input open -> drain > debug2: channel 0: ibuf empty > debug2: channel 0: send eof > debug3: send packet: type 96 > debug2: channel 0: input drain -> closed > debug3: receive packet: type 98 > debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 > debug3: receive packet: type 96 > debug2: channel 0: rcvd eof > debug2: channel 0: output open -> drain > debug2: channel 0: obuf empty > debug2: channel 0: close_write > debug2: channel 0: output drain -> closed > debug3: receive packet: type 97 > debug2: channel 0: rcvd close > debug3: channel 0: will not send data after close > debug2: channel 0: almost dead > debug2: channel 0: gc: notify user > debug2: channel 0: gc: user detached > debug2: channel 0: send close > debug3: send packet: type 97 > debug2: channel 0: is dead > debug2: channel 0: garbage collecting > debug1: channel 0: free: client-session, nchannels 1 > debug3: channel 0: status: The following connections are open: > #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1) > > debug3: send packet: type 1 > debug1: fd 0 clearing O_NONBLOCK > debug3: fd 1 is not O_NONBLOCK > Transferred: sent 4852, received 3740 bytes, in 1.7 seconds > Bytes per second: sent 2783.7, received 2145.7 > debug1: Exit status 0 > To gitlab.com:Whissi/test.git > 2309ba3..0af24c3 master -> master > Branch 'master' set up to track remote branch 'master' from 'origin'. It is > debug3: ssh_packet_set_tos: set IP_TOS 0x00 in my case... However, you are the only one who is experiencing the problem so far. Nobody else is able to reproduce. So you have to debug... ;) Please do cd /usr/portage/net-misc/openssh ebuild openssh-7.7_p1-r2.ebuild clean unpack and now start removing patches backwards from /var/tmp/portage/net-misc/openssh-7.7_p1-r2/work/patch and continue building, i.e. ebuild openssh-7.7_p1-r2.ebuild merge I guess you have to do it backwards because some patches maybe need a previous patch. The only patch affecting TOS I can think of was https://github.com/openssh/openssh-portable/commit/5ee8448ad7c306f05a9f56769f95336a8269f379 (this is our first one, 2000_all_openssh-7.7p1_update-default-IPQoS-values.patch). If this patch is the problem, something in your network is messing up with QoS. But we will see... Sorry the broken entry was truncated somehow: GIT_SSH="/tmp/debug_ssh" git push OpenSSH_7.7p1, OpenSSL 1.0.2o 27 Mar 2018 debug1: Reading configuration data /etc/ssh/ssh_config debug2: resolving "gitlab.mwe.redacted.com" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to gitlab.mwe.redacted.com [10.139.25.1] port 22. debug1: Connection established. debug1: identity file /home/fireburn/.ssh/id_rsa type 0 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_ed25519-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_xmss type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/fireburn/.ssh/id_xmss-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_7.7 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3 debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000 debug2: fd 3 setting O_NONBLOCK debug1: Authenticating to gitlab.mwe.redacted.com:22 as 'wasadm' debug3: hostkeys_foreach: reading file "/home/fireburn/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /home/fireburn/.ssh/known_hosts:50 debug3: load_hostkeys: loaded 1 keys from gitlab.mwe.redacted.com debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c debug2: host key algorithms: ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com,zlib debug2: compression stoc: none,zlib@openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: host key algorithms: ssh-rsa,ssh-dss debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: MACs ctos: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: MACs stoc: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: compression ctos: none,zlib@openssh.com debug2: compression stoc: none,zlib@openssh.com debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: diffie-hellman-group-exchange-sha256 debug1: kex: host key algorithm: ssh-rsa debug1: kex: server->client cipher: aes128-ctr MAC: umac-64@openssh.com compression: none debug1: kex: client->server cipher: aes128-ctr MAC: umac-64@openssh.com compression: none debug3: send packet: type 34 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<3072<8192) sent debug3: receive packet: type 31 debug1: got SSH2_MSG_KEX_DH_GEX_GROUP debug2: bits set: 1558/3072 debug3: send packet: type 32 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug3: receive packet: type 33 debug1: got SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: ssh-rsa SHA256:K6H3nTz3wDOQwYBHJ1Z8ZVrJRPce4t4h7YyyXOb0Gks debug3: hostkeys_foreach: reading file "/home/fireburn/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /home/fireburn/.ssh/known_hosts:50 debug3: load_hostkeys: loaded 1 keys from gitlab.mwe.redacted.com debug3: hostkeys_foreach: reading file "/home/fireburn/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /home/fireburn/.ssh/known_hosts:31 debug3: load_hostkeys: loaded 1 keys from 10.139.25.1 debug1: Host 'gitlab.mwe.redacted.com' is known and matches the RSA host key. debug1: Found key in /home/fireburn/.ssh/known_hosts:50 debug2: bits set: 1543/3072 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug1: SSH2_MSG_NEWKEYS received debug2: set_newkeys: mode 0 debug1: rekey after 4294967296 blocks debug2: key: /home/fireburn/.ssh/id_rsa (0x5653ecd131d0), agent debug2: key: /home/fireburn/.ssh/id_dsa ((nil)) debug2: key: /home/fireburn/.ssh/id_ecdsa ((nil)) debug2: key: /home/fireburn/.ssh/id_ed25519 ((nil)) debug2: key: /home/fireburn/.ssh/id_xmss ((nil)) debug3: send packet: type 5 debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: RSA SHA256:8Jl/FeEDLSCH88N/6TJ950Pv2jDvPtszre0+/8H7ys4 /home/fireburn/.ssh/id_rsa debug3: send_pubkey_test debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 4 debug1: Remote: Forced command: /apps/was/gitlab/gitlab-shell/bin/gitlab-shell key-5 debug3: receive packet: type 4 debug1: Remote: Port forwarding disabled. debug3: receive packet: type 4 debug1: Remote: X11 forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Agent forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Pty allocation disabled. debug3: receive packet: type 60 debug1: Server accepts key: pkalg ssh-rsa blen 533 debug2: input_userauth_pk_ok: fp SHA256:8Jl/FeEDLSCH88N/6TJ950Pv2jDvPtszre0+/8H7ys4 debug3: sign_and_send_pubkey: RSA SHA256:8Jl/FeEDLSCH88N/6TJ950Pv2jDvPtszre0+/8H7ys4 debug3: send packet: type 50 debug3: receive packet: type 4 debug1: Remote: Forced command: /apps/was/gitlab/gitlab-shell/bin/gitlab-shell key-5 debug3: receive packet: type 4 debug1: Remote: Port forwarding disabled. debug3: receive packet: type 4 debug1: Remote: X11 forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Agent forwarding disabled. debug3: receive packet: type 4 debug1: Remote: Pty allocation disabled. debug3: receive packet: type 52 debug1: Authentication succeeded (publickey). Authenticated to gitlab.mwe.redacted.com ([10.139.25.1]:22). debug2: fd 5 setting O_NONBLOCK debug2: fd 6 setting O_NONBLOCK debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug3: send packet: type 90 debug1: Requesting no-more-sessions@openssh.com debug3: send packet: type 80 debug1: Entering interactive session. debug1: pledge: network debug3: receive packet: type 91 debug2: channel_input_open_confirmation: channel 0: callback start debug2: fd 3 setting TCP_NODELAY debug3: ssh_packet_set_tos: set IP_TOS 0x20 debug2: client_session2_setup: id 0 debug1: Sending environment. debug3: Ignored env LS_COLORS debug3: Ignored env SSH_CONNECTION debug3: Ignored env _ debug1: Sending env LANG = en_GB.UTF-8 debug2: channel 0: request env confirm 0 debug3: send packet: type 98 debug3: Ignored env LESS debug3: Ignored env DISPLAY debug3: Ignored env OPENGL_PROFILE debug3: Ignored env OLDPWD debug3: Ignored env CONFIG_PROTECT_MASK debug3: Ignored env EDITOR debug3: Ignored env JAVA_HOME debug3: Ignored env GCC_SPECS debug3: Ignored env CVSROOT debug3: Ignored env SSH_AUTH_SOCK debug3: Ignored env XDG_SESSION_ID debug3: Ignored env USER debug3: Ignored env PAGER debug3: Ignored env PWD debug3: Ignored env HOME debug3: Ignored env SSH_CLIENT debug3: Ignored env GIT_SSH debug3: Ignored env GSETTINGS_BACKEND debug3: Ignored env XDG_DATA_DIRS debug3: Ignored env JDK_HOME debug3: Ignored env SSH_TTY debug3: Ignored env _JAVA_OPTIONS debug3: Ignored env MAIL debug3: Ignored env CONFIG_PROTECT debug3: Ignored env TERM debug3: Ignored env SHELL debug3: Ignored env JAVAC debug3: Ignored env MOZ_GMP_PATH debug3: Ignored env SHLVL debug3: Ignored env MANPATH debug3: Ignored env LOGNAME debug3: Ignored env DBUS_SESSION_BUS_ADDRESS debug3: Ignored env XDG_RUNTIME_DIR debug3: Ignored env XDG_CONFIG_DIRS debug3: Ignored env PATH debug3: Ignored env INFOPATH debug3: Ignored env CVSWAS debug3: Ignored env LESSOPEN debug1: Sending command: git-receive-pack 'mwe/ConfigurationFiles.git' debug2: channel 0: request exec confirm 1 debug3: send packet: type 98 debug2: channel_input_open_confirmation: channel 0: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug3: send packet: type 1 packet_write_wait: Connection to 10.139.25.1 port 22: Broken pipe fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Wait, when I read gitlab I thought about gitlab.com services. But it looks like this has nothing to do with GitLab. Maybe a private GitLab installation but that's it. I need to find an OpenSSH 5.3 installation. Can you tell me more about your endpoint? Maybe you know it is Debian X...? It's GitLab 10.7.1 running on RHEL6 OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013 git version 1.7.1 (In reply to Mike Lothian from comment #9) > It's GitLab 10.7.1 running on RHEL6 > > OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013 > > git version 1.7.1 Can you ssh into this box from your Gentoo box with 7.7_p1-r2? No I can't ssh vm001708 packet_write_wait: Connection to 10.139.25.1 port 22: Broken pipe OK, I downloaded CentOS-6.9-x86_64-LiveDVD.iso and was able to connect to this host using Gentoo's net-misc/openssh-7.7_p1-r2 package after I started sshd and stopped iptables service. Still working after I upgraded openssh package to 5.3p1-123.el6_9.
Are you able to run sshd in foreground (/usr/sbin/sshd -ddd) on that box and try to connect again?
And re-try with
> # cd /usr/portage/net-misc/openssh
> # ebuild openssh-7.7_p1-r2.ebuild clean unpack
> # rm /var/tmp/portage/net-misc/openssh-7.7_p1-r2/work/patch/2000_all_openssh-7.7p1_update-default-IPQoS-values.patch
> # rm /var/tmp/portage/net-misc/openssh-7.7_p1-r2/work/patch/2003_all_openssh-7.7p1_upstream_bug2835.patch
> # ebuild openssh-7.7_p1-r2.ebuild merge
I've emerged net-misc/openssh-7.7_p1-r3 Here's the output from another RHEL6 machine: bash-4.1# /usr/sbin/sshd -ddd debug2: load_server_config: filename /etc/ssh/sshd_config debug2: load_server_config: done config len = 563 debug2: parse_server_config: config /etc/ssh/sshd_config len 563 debug3: /etc/ssh/sshd_config:21 setting Protocol 2 debug3: /etc/ssh/sshd_config:36 setting SyslogFacility AUTHPRIV debug3: /etc/ssh/sshd_config:66 setting PasswordAuthentication yes debug3: /etc/ssh/sshd_config:70 setting ChallengeResponseAuthentication no debug3: /etc/ssh/sshd_config:81 setting GSSAPIAuthentication yes debug3: /etc/ssh/sshd_config:83 setting GSSAPICleanupCredentials yes debug3: /etc/ssh/sshd_config:97 setting UsePAM yes debug3: /etc/ssh/sshd_config:100 setting AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES debug3: /etc/ssh/sshd_config:101 setting AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT debug3: /etc/ssh/sshd_config:102 setting AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE debug3: /etc/ssh/sshd_config:103 setting AcceptEnv XMODIFIERS debug3: /etc/ssh/sshd_config:109 setting X11Forwarding yes debug3: /etc/ssh/sshd_config:132 setting Subsystem sftp /usr/libexec/openssh/sftp-server debug1: sshd version OpenSSH_5.3p1 debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key. debug1: read PEM private key done: type RSA debug1: private host key: #0 type 1 RSA debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key. debug1: read PEM private key done: type DSA debug1: private host key: #1 type 2 DSA debug1: rexec_argv[0]='/usr/sbin/sshd' debug1: rexec_argv[1]='-ddd' debug3: oom_adjust_setup Set /proc/self/oom_score_adj from 0 to -1000 debug2: fd 3 setting O_NONBLOCK debug1: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. debug2: fd 4 setting O_NONBLOCK debug1: Bind to port 22 on ::. Server listening on :: port 22. debug3: fd 5 is not O_NONBLOCK debug1: Server will not fork when running in debugging mode. debug3: send_rexec_state: entering fd = 8 config len 563 debug3: ssh_msg_send: type 0 debug3: send_rexec_state: done debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8 debug1: inetd sockets after dupping: 3, 3 Connection from 10.99.92.84 port 58467 debug1: Client protocol version 2.0; client software version OpenSSH_7.7 debug1: match: OpenSSH_7.7 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.3 debug2: fd 3 setting O_NONBLOCK debug2: Network child is on pid 54780 debug3: preauth child monitor started debug3: mm_request_receive entering debug3: privsep user:group 74:74 debug1: permanently_set_uid: 74/74 debug1: list_hostkey_types: ssh-rsa,ssh-dss debug1: SSH2_MSG_KEXINIT sent debug3: Wrote 840 bytes for a total of 861 debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib@openssh.com debug2: kex_parse_kexinit: none,zlib@openssh.com debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519 debug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: kex_parse_kexinit: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: kex_parse_kexinit: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_setup: found umac-64@openssh.com debug1: kex: client->server aes128-ctr umac-64@openssh.com none debug3: mm_request_send entering: type 78 debug3: mm_request_receive_expect entering: type 79 debug3: monitor_read: checking request 78 debug3: mm_request_send entering: type 79 debug3: mm_request_receive entering debug3: mm_request_receive entering debug2: mac_setup: found umac-64@openssh.com debug1: kex: server->client aes128-ctr umac-64@openssh.com none debug3: mm_request_send entering: type 78 debug3: mm_request_receive_expect entering: type 79 debug3: mm_request_receive entering debug3: monitor_read: checking request 78 debug3: mm_request_send entering: type 79 debug3: mm_request_receive entering debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received debug3: mm_request_send entering: type 0 debug3: mm_choose_dh: waiting for MONITOR_ANS_MODULI debug3: mm_request_receive_expect entering: type 1 debug3: mm_request_receive entering debug3: monitor_read: checking request 0 debug3: mm_answer_moduli: got parameters: 2048 3072 8192 debug3: mm_request_send entering: type 1 debug2: monitor_read: 0 used once, disabling now debug3: mm_request_receive entering debug3: mm_choose_dh: remaining 0 debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent debug3: Wrote 408 bytes for a total of 1269 debug2: dh_gen_key: priv key bits set: 135/256 debug2: bits set: 1538/3072 debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT debug2: bits set: 1529/3072 debug3: mm_key_sign entering debug3: mm_request_send entering: type 5 debug3: monitor_read: checking request 5 debug3: mm_answer_sign debug3: mm_key_sign: waiting for MONITOR_ANS_SIGN debug3: mm_request_receive_expect entering: type 6 debug3: mm_request_receive entering debug3: mm_answer_sign: signature 0x7f0d28553a10(271) debug3: mm_request_send entering: type 6 debug2: monitor_read: 5 used once, disabling now debug3: mm_request_receive entering debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: Wrote 976 bytes for a total of 2245 debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: KEX done debug3: Wrote 40 bytes for a total of 2285 debug1: userauth-request for user root service ssh-connection method none debug1: attempt 0 failures 0 debug3: mm_getpwnamallow entering debug3: mm_request_send entering: type 7 debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM debug3: mm_request_receive_expect entering: type 8 debug3: mm_request_receive entering debug3: monitor_read: checking request 7 debug3: mm_answer_pwnamallow debug3: Trying to reverse map address 10.99.92.84. debug2: parse_server_config: config reprocess config len 563 debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1 debug3: mm_request_send entering: type 8 debug2: monitor_read: 7 used once, disabling now debug3: mm_request_receive entering debug2: input_userauth_request: setting up authctxt for root debug3: mm_start_pam entering debug3: mm_request_send entering: type 50 debug3: mm_inform_authserv entering debug3: mm_request_send entering: type 3 debug3: mm_inform_authrole entering debug3: mm_request_send entering: type 4 debug2: input_userauth_request: try method none debug3: Wrote 72 bytes for a total of 2357 debug3: monitor_read: checking request 50 debug1: PAM: initializing for "root" debug1: PAM: setting PAM_RHOST to "redacted" debug1: PAM: setting PAM_TTY to "ssh" debug2: monitor_read: 50 used once, disabling now debug3: mm_request_receive entering debug3: monitor_read: checking request 3 debug3: mm_answer_authserv: service=ssh-connection, style= debug2: monitor_read: 3 used once, disabling now debug3: mm_request_receive entering debug3: monitor_read: checking request 4 debug3: mm_answer_authrole: role= debug2: monitor_read: 4 used once, disabling now debug3: mm_request_receive entering debug1: userauth-request for user root service ssh-connection method publickey debug1: attempt 1 failures 0 debug2: input_userauth_request: try method publickey debug1: test whether pkalg/pkblob are acceptable debug3: mm_key_allowed entering debug3: mm_request_send entering: type 21 debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED debug3: mm_request_receive_expect entering: type 22 debug3: mm_request_receive entering debug3: monitor_read: checking request 21 debug3: mm_answer_keyallowed entering debug3: mm_answer_keyallowed: key_from_blob: 0x7f0d2855b960 debug1: temporarily_use_uid: 0/0 (e=0/0) debug1: trying public key file /root/.ssh/authorized_keys debug1: fd 4 clearing O_NONBLOCK debug3: secure_filename: checking '/root/.ssh' debug3: secure_filename: checking '/root' debug3: secure_filename: terminating check at '/root' debug1: matching key found: file /root/.ssh/authorized_keys, line 9 Found matching RSA key: 8a:a4:87:4c:aa:71:dc:cd:04:fc:64:69:d6:d0:49:75 debug1: restore_uid: 0/0 debug3: mm_answer_keyallowed: key 0x7f0d2855b960 is allowed debug3: mm_request_send entering: type 22 debug3: mm_request_receive entering debug3: Wrote 568 bytes for a total of 2925 debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa Postponed publickey for root from 10.99.92.84 port 58467 ssh2 debug1: userauth-request for user root service ssh-connection method publickey debug1: attempt 2 failures 0 debug2: input_userauth_request: try method publickey debug3: mm_key_allowed entering debug3: mm_request_send entering: type 21 debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED debug3: mm_request_receive_expect entering: type 22 debug3: mm_request_receive entering debug3: monitor_read: checking request 21 debug3: mm_answer_keyallowed entering debug3: mm_answer_keyallowed: key_from_blob: 0x7f0d2855baf0 debug1: temporarily_use_uid: 0/0 (e=0/0) debug1: trying public key file /root/.ssh/authorized_keys debug1: fd 4 clearing O_NONBLOCK debug3: secure_filename: checking '/root/.ssh' debug3: secure_filename: checking '/root' debug3: secure_filename: terminating check at '/root' debug1: matching key found: file /root/.ssh/authorized_keys, line 9 Found matching RSA key: 8a:a4:87:4c:aa:71:dc:cd:04:fc:64:69:d6:d0:49:75 debug1: restore_uid: 0/0 debug3: mm_answer_keyallowed: key 0x7f0d2855baf0 is allowed debug3: mm_request_send entering: type 22 debug3: mm_request_receive entering debug3: mm_key_verify entering debug3: mm_request_send entering: type 23 debug3: mm_key_verify: waiting for MONITOR_ANS_KEYVERIFY debug3: mm_request_receive_expect entering: type 24 debug3: mm_request_receive entering debug3: monitor_read: checking request 23 debug1: ssh_rsa_verify: signature correct debug3: mm_answer_keyverify: key 0x7f0d2855bad0 signature verified debug3: mm_request_send entering: type 24 debug2: userauth_pubkey: authenticated 1 pkalg ssh-rsa debug3: mm_do_pam_account entering debug3: mm_request_send entering: type 51 debug3: mm_request_receive_expect entering: type 52 debug3: mm_request_receive entering debug3: mm_request_receive_expect entering: type 51 debug3: mm_request_receive entering debug1: do_pam_account: called debug3: PAM: do_pam_account pam_acct_mgmt = 0 (Success) debug3: mm_request_send entering: type 52 debug3: mm_do_pam_account returning 1 debug3: Wrote 24 bytes for a total of 2949 debug3: mm_send_keystate: Sending new keys: 0x7f0d28553cb0 0x7f0d28553b10 debug3: mm_newkeys_to_blob: converting 0x7f0d28553cb0 debug3: mm_newkeys_to_blob: converting 0x7f0d28553b10 debug3: mm_send_keystate: New keys have been sent debug3: mm_send_keystate: Sending compression state debug3: mm_request_send entering: type 25 debug3: mm_send_keystate: Finished sending state debug3: mm_request_send entering: type 80 debug3: mm_request_receive_expect entering: type 81 debug3: mm_request_receive entering Accepted publickey for root from 10.99.92.84 port 58467 ssh2 debug1: monitor_child_preauth: root has been authenticated by privileged process debug3: mm_get_keystate: Waiting for new keys debug3: mm_request_receive_expect entering: type 25 debug3: mm_request_receive entering debug3: mm_newkeys_from_blob: 0x7f0d2855bad0(133) debug2: mac_setup: found umac-64@openssh.com debug3: mm_get_keystate: Waiting for second key debug3: mm_newkeys_from_blob: 0x7f0d2855bad0(133) debug2: mac_setup: found umac-64@openssh.com debug3: mm_get_keystate: Getting compression state debug3: mm_get_keystate: Getting Network I/O buffers debug3: mm_request_receive_expect entering: type 80 debug3: mm_request_receive entering debug3: mm_request_send entering: type 81 debug3: mm_share_sync: Share sync debug3: mm_share_sync: Share sync end debug1: temporarily_use_uid: 0/0 (e=0/0) debug1: ssh_gssapi_storecreds: Not a GSSAPI mechanism debug1: restore_uid: 0/0 debug1: SELinux support enabled debug3: ssh_selinux_setup_variables: setting execution context debug1: PAM: establishing credentials debug3: PAM: opening session debug1: temporarily_use_uid: 0/0 (e=0/0) debug1: ssh_gssapi_storecreds: Not a GSSAPI mechanism debug1: restore_uid: 0/0 debug2: set_newkeys: mode 0 debug2: set_newkeys: mode 1 debug1: Entering interactive session for SSH2. debug2: fd 5 setting O_NONBLOCK debug2: fd 6 setting O_NONBLOCK debug1: server_init_dispatch_20 debug1: server_input_channel_open: ctype session rchan 0 win 1048576 max 16384 debug1: input_session_request debug1: channel 0: new [server-session] debug2: session_new: allocate (allocated 0 max 10) debug3: session_unused: session id 0 unused debug1: session_new: session 0 debug1: session_open: channel 0 debug1: session_open: session 0: link with channel 0 debug1: server_input_channel_open: confirm session debug1: server_input_global_request: rtype no-more-sessions@openssh.com want_reply 0 debug3: Wrote 40 bytes for a total of 2989 Connection closed by 10.99.92.84 debug1: channel 0: free: server-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 server-session (t10 r0 i0/0 o0/0 fd -1/-1 cc -1) debug3: channel 0: close_fds r -1 w -1 e -1 debug1: session_close: session 0 pid 0 debug3: session_unused: session id 0 unused debug1: do_cleanup debug1: PAM: cleanup debug1: PAM: closing session debug1: PAM: deleting credentials debug3: PAM: sshpam_thread_cleanup entering Transferred: sent 2928, received 3720 bytes Closing connection to 10.99.92.84 port 58467 It also seems to be happening connecting to RHEL7, and my other Gentoo machines Strangely now when SSHing between my home machines I'm seeing: warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512) I should probably add the machine that's having difficulties is a VMWare VM running on Windows 7 and the network is NAT I've just tried changing this to VMnet0 (Auto-bridging) and it started working So it looks like the new versions of OpenSSH have an issue with NAT (In reply to Mike Lothian from comment #14) > Strangely now when SSHing between my home machines I'm seeing: > > warning: agent returned different signature type ssh-rsa (expected > rsa-sha2-512) This is https://dev.gnupg.org/T3880, doesn't happen with >=app-crypt/gnupg-2.2.6. I don't see a real problem in the latest debug output so I still think there's something broken on your network/setup. I am also using VMware Workstation 14.1.1 build-7528167 on Windows 7 and cannot reproduce your issue. chris@gazelle ~ $ ssh haswell warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512) chris@haswell ~ $ logout Connection to haswell closed. chris@gazelle ~ $ equery l -op app-crypt/gnupg * Searching for gnupg in app-crypt ... [-P-] [ ] app-crypt/gnupg-1.4.21:0 [-P-] [ ] app-crypt/gnupg-2.1.15:0 [-P-] [ ] app-crypt/gnupg-2.1.20-r1:0 [-P-] [ ] app-crypt/gnupg-2.2.4:0 [-P-] [ ] app-crypt/gnupg-2.2.4-r2:0 [-P-] [ ~] app-crypt/gnupg-2.2.6:0 [-P-] [ ~] app-crypt/gnupg-2.2.7:0 [IP-] [ ] app-crypt/gnupg-2.2.8:0 chris@gazelle ~ $ ps aux | grep gnome chris 10363 0.0 0.0 205996 5784 ? Sl 06:50 0:00 /usr/libexec/at-spi2-registryd --use-gnome-session chris 10373 0.0 0.0 425256 6168 ? SLl 06:50 0:00 gnome-keyring-daemon --start chris 11879 0.0 0.0 11136 940 pts/4 S+ 06:54 0:00 grep --colour=auto gnome chris@gazelle ~ $ kill 10373 chris@gazelle ~ $ ssh haswell chris@haswell ~ $ This is a VMware problem (see https://bugs.gentoo.org/658488#c3). Please set IPQoS to a different value, i.e. IPQoS=lowdelay or IPQoS=throughput and the problem will go away. BUT: You will need to keep this configuration and report the problem to VMware. This change won't go away in OpenSSH and it is not an OpenSSH problem. I.e. you can reproduce with any other TCP stream... just set the QoS marker for this connection to AF21 for example and you will notice that VMware is resetting this connection via RST packets. |