Re: message authentication code incorrect

2018-01-24 Thread Jan Stary
On Jan 24 14:13:56, openbsd+m...@list.imperialat.at wrote:
> Hello Jan,
> 
> See https://marc.info/?l=openbsd-cvs&m=151673244010209&w=2 and
> https://marc.info/?l=openbsd-cvs&m=151673766411788&w=2.
> So it's probably fixed in the next snapshot.

Yes it is. Thanks.

Jan



Re: message authentication code incorrect

2018-01-24 Thread Jan Stary
On Jan 23 16:48:57, h...@stare.cz wrote:
> I just upgraded my current/amd64 and now con't ssh to it

/var/log/authlog says:

  Protocol major versions differ for 147.32.79.165 port 51692:
  SSH-2.0-OpenSSH_7.6 vs. SSH-2.0-OpenSSH-7.6

147.32.79.165 is a MacOS machine trying to connect
The "version" is the same if I am reading it right.


Connecting from a Debian machine, the authlog says:

  Protocol major versions differ for 195.113.26.195 port 51723:
  SSH-2.0-OpenSSH_7.6 vs. SSH-2.0-OpenSSH-6.0p1

The "major version" is the 2 in 2.0, right?
The client gets

Bad packet length 1349676916.
ssh_dispatch_run_fatal: Connection to 147.32.233.137 port 22: message
authentication code incorrect



Jan



> from an amd64 machien running the Jan 19 snapshot:
> 
> $ ssh -v biblio.stare.cz
> OpenSSH_7.6, LibreSSL 2.7.0
> debug1: Reading configuration data /home/hans/.ssh/config
> debug1: /home/hans/.ssh/config line 1: Applying options for *
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Connecting to biblio.stare.cz [147.32.233.137] port 22.
> debug1: Connection established.
> debug1: identity file /home/hans/.ssh/id_rsa type 0
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_rsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_dsa type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_dsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ecdsa type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ecdsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ed25519 type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ed25519-cert type -1
> debug1: Local version string SSH-2.0-OpenSSH_7.6
> debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6
> debug1: match: OpenSSH_7.6 pat OpenSSH* compat 0x0400
> debug1: Authenticating to biblio.stare.cz:22 as 'hans'
> debug1: SSH2_MSG_KEXINIT sent
> Bad packet length 1349676916.
> ssh_dispatch_run_fatal: Connection to 147.32.233.137 port 22: message 
> authentication code incorrect
> 
>   Jan
> 



Re: message authentication code incorrect

2018-01-24 Thread Jeremie Courreges-Anglas
On Wed, Jan 24 2018, Jan Stary  wrote:
> On Jan 23 16:48:57, h...@stare.cz wrote:
>> I just upgraded my current/amd64 and now con't ssh to it
>
> In fact, I can't ssh _fom_ it either:
>
> $ ssh wherever
> write: Socket is not connected
>
> has something changed with ssh or sshd?

Yep, there was a 13-15 hours time frame where a bug affected ssh and
sshd.  Please upgrade to latest snapshots, or compile ssh/sshd from
source.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: message authentication code incorrect

2018-01-24 Thread Martijn van Duren
Hello Jan,

See https://marc.info/?l=openbsd-cvs&m=151673244010209&w=2 and
https://marc.info/?l=openbsd-cvs&m=151673766411788&w=2.
So it's probably fixed in the next snapshot.

On 01/24/18 14:08, Jan Stary wrote:
> On Jan 23 16:48:57, h...@stare.cz wrote:
>> I just upgraded my current/amd64 and now con't ssh to it
> 
> In fact, I can't ssh _fom_ it either:
> 
> $ ssh wherever
> write: Socket is not connected
> 
> has something changed with ssh or sshd?
> 
>   Jan
> 
>> from an amd64 machine running the Jan 19 snapshot:
>>
>> $ ssh -v biblio.stare.cz
>> OpenSSH_7.6, LibreSSL 2.7.0
>> debug1: Reading configuration data /home/hans/.ssh/config
>> debug1: /home/hans/.ssh/config line 1: Applying options for *
>> debug1: Reading configuration data /etc/ssh/ssh_config
>> debug1: Connecting to biblio.stare.cz [147.32.233.137] port 22.
>> debug1: Connection established.
>> debug1: identity file /home/hans/.ssh/id_rsa type 0
>> debug1: key_load_public: No such file or directory
>> debug1: identity file /home/hans/.ssh/id_rsa-cert type -1
>> debug1: key_load_public: No such file or directory
>> debug1: identity file /home/hans/.ssh/id_dsa type -1
>> debug1: key_load_public: No such file or directory
>> debug1: identity file /home/hans/.ssh/id_dsa-cert type -1
>> debug1: key_load_public: No such file or directory
>> debug1: identity file /home/hans/.ssh/id_ecdsa type -1
>> debug1: key_load_public: No such file or directory
>> debug1: identity file /home/hans/.ssh/id_ecdsa-cert type -1
>> debug1: key_load_public: No such file or directory
>> debug1: identity file /home/hans/.ssh/id_ed25519 type -1
>> debug1: key_load_public: No such file or directory
>> debug1: identity file /home/hans/.ssh/id_ed25519-cert type -1
>> debug1: Local version string SSH-2.0-OpenSSH_7.6
>> debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6
>> debug1: match: OpenSSH_7.6 pat OpenSSH* compat 0x0400
>> debug1: Authenticating to biblio.stare.cz:22 as 'hans'
>> debug1: SSH2_MSG_KEXINIT sent
>> Bad packet length 1349676916.
>> ssh_dispatch_run_fatal: Connection to 147.32.233.137 port 22: message 
>> authentication code incorrect
>>
>>  Jan
>>
> 



Re: message authentication code incorrect

2018-01-24 Thread Jan Stary
On Jan 23 16:48:57, h...@stare.cz wrote:
> I just upgraded my current/amd64 and now con't ssh to it

In fact, I can't ssh _fom_ it either:

$ ssh wherever
write: Socket is not connected

has something changed with ssh or sshd?

Jan

> from an amd64 machine running the Jan 19 snapshot:
> 
> $ ssh -v biblio.stare.cz
> OpenSSH_7.6, LibreSSL 2.7.0
> debug1: Reading configuration data /home/hans/.ssh/config
> debug1: /home/hans/.ssh/config line 1: Applying options for *
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Connecting to biblio.stare.cz [147.32.233.137] port 22.
> debug1: Connection established.
> debug1: identity file /home/hans/.ssh/id_rsa type 0
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_rsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_dsa type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_dsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ecdsa type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ecdsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ed25519 type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ed25519-cert type -1
> debug1: Local version string SSH-2.0-OpenSSH_7.6
> debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6
> debug1: match: OpenSSH_7.6 pat OpenSSH* compat 0x0400
> debug1: Authenticating to biblio.stare.cz:22 as 'hans'
> debug1: SSH2_MSG_KEXINIT sent
> Bad packet length 1349676916.
> ssh_dispatch_run_fatal: Connection to 147.32.233.137 port 22: message 
> authentication code incorrect
> 
>   Jan
> 



Re: message authentication code incorrect

2018-01-23 Thread Jan Stary
On Jan 23 16:48:57, h...@stare.cz wrote:
> I just upgraded my current/amd64 and now con't ssh to it
> from an amd64 machien running the Jan 19 snapshot:

(or from any other machine.)

> $ ssh -v biblio.stare.cz
> OpenSSH_7.6, LibreSSL 2.7.0
> debug1: Reading configuration data /home/hans/.ssh/config
> debug1: /home/hans/.ssh/config line 1: Applying options for *
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Connecting to biblio.stare.cz [147.32.233.137] port 22.
> debug1: Connection established.
> debug1: identity file /home/hans/.ssh/id_rsa type 0
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_rsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_dsa type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_dsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ecdsa type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ecdsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ed25519 type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/hans/.ssh/id_ed25519-cert type -1
> debug1: Local version string SSH-2.0-OpenSSH_7.6
> debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6
> debug1: match: OpenSSH_7.6 pat OpenSSH* compat 0x0400
> debug1: Authenticating to biblio.stare.cz:22 as 'hans'
> debug1: SSH2_MSG_KEXINIT sent
> Bad packet length 1349676916.
> ssh_dispatch_run_fatal: Connection to 147.32.233.137 port 22: message 
> authentication code incorrect
> 
>   Jan
> 



message authentication code incorrect

2018-01-23 Thread Jan Stary
I just upgraded my current/amd64 and now con't ssh to it
from an amd64 machien running the Jan 19 snapshot:

$ ssh -v biblio.stare.cz
OpenSSH_7.6, LibreSSL 2.7.0
debug1: Reading configuration data /home/hans/.ssh/config
debug1: /home/hans/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to biblio.stare.cz [147.32.233.137] port 22.
debug1: Connection established.
debug1: identity file /home/hans/.ssh/id_rsa type 0
debug1: key_load_public: No such file or directory
debug1: identity file /home/hans/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/hans/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/hans/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/hans/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/hans/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/hans/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/hans/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6
debug1: match: OpenSSH_7.6 pat OpenSSH* compat 0x0400
debug1: Authenticating to biblio.stare.cz:22 as 'hans'
debug1: SSH2_MSG_KEXINIT sent
Bad packet length 1349676916.
ssh_dispatch_run_fatal: Connection to 147.32.233.137 port 22: message 
authentication code incorrect

Jan