ssh login not working

Post Reply
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

ssh login not working

Post by mister_v »

After an update of the sshd deamon.
I cant login.

Code: Select all

Connection reset by 192.168.1.1 port 23
I tried a restart of the server,
but it didn't work.

Anyone knows what to do ?
Chris
Site Admin
Posts: 129
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: ssh login not working

Post by Chris »

sounds to me, you have a problem with the config file

Code: Select all

/etc/ssh/sshd_config
Or perhaps it is not compatible with the new version of ssh-daemon.
Check your logs.
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Re: ssh login not working

Post by mister_v »

I check for /var/log/auth.log (doesn't exist for me)
and /var/log/messages -> not much info

So I adapted the /etc/ssh/sshd_config -file to be more verbose.
LogLevel DEBUG3

That gave me some more info:

Code: Select all

userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
and here I'm stuck, because it should work with ssh-rsa...
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Re: ssh login not working

Post by mister_v »

I tried with adding this line in /etc/ssh/sshd_config.

Code: Select all

PubkeyAcceptedAlgorithms=+ssh-rsa
Did not change...
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Re: ssh login not working

Post by mister_v »

Tried setting in /etc/ssh/ssh_config in both server and host.

Code: Select all

HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
Still not good.

Tried using latest version from putty, still same error.
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Re: ssh login not working

Post by mister_v »

after a few tries,
I found another errors message :

Code: Select all

sshd[26151]: debug1: permanently_set_uid: 22/22 [preauth]
sshd[26151]: debug3: ssh_sandbox_child: setting PR_SET_NO_NEW_PRIVS [preauth]
sshd[26151]: debug3: ssh_sandbox_child: attaching seccomp filter program [preauth]
sshd[26151]: debug1: ssh_sandbox_child: prctl(PR_SET_SECCOMP): Invalid argument [preauth]
I think the problem is that the kernel is to old.
3.16.1 . I have been lazy with the updates...
Post Reply