Koozali.org: home of the SME Server

SSH authentication failure after update to latest RPMs

tape

SSH authentication failure after update to latest RPMs
« on: January 09, 2005, 06:07:30 PM »
hi there,

did an SME update from 5.5 > 5.6 >6.01.1 and (near) all went well until i did an "yum update" and checked the machine with rkhunter. rkhunter did complain a vulnerable SSH so i updated this one with the latest one at sme-swerts-knudsen.dk (and of course i did follow the readme file).

But now.. very strange to me.. i can not login via SSH from a remote host and localhost. I alwas get an authentication failure i my /var/log/message. I have set the syslog login from AUTH to DEGUB in my sshd_config but i can not see anything else than this authentication error in the last two lines there if i am logging in.

Anyone with some hints where i can have a look at or what i can do next? *sigh*


best regards from South Germany
Anton

Offline mdo

  • *
  • 355
  • +0/-0
SSH authentication failure after update to latest RPMs
« Reply #1 on: January 09, 2005, 06:57:07 PM »
Anton

the rkhunter installation disables ssh protocol version 1 usage (which is good I would say) so you explicitely have to select protocol version 2 in your ssh client (putty?).

Regards,
Michael
...

Offline gregswallow

  • *
  • 651
  • +1/-0
SSH authentication failure after update to latest RPMs
« Reply #2 on: January 10, 2005, 01:02:24 AM »
also download putty again to get the latest version.

tape

SSH authentication failure after update to latest RPMs
« Reply #3 on: January 10, 2005, 07:44:07 PM »
Quote from: "mdo"

the rkhunter installation disables ssh protocol version 1 usage (which is good I would say) so you explicitely have to select protocol version 2 in your ssh client (putty?).


yep it is putty, but it does no matter. I selected protocol 2 under putty and still get my authentication error. (i have no local access now, so i just did try an remote access via putty). And it is the latest release of putty 0.56. *doublesigh*

Offline gregswallow

  • *
  • 651
  • +1/-0
SSH authentication failure after update to latest RPMs
« Reply #4 on: January 10, 2005, 09:24:36 PM »
Maybe go into the server-manager remote access setting and change them to off, then back to on a minute later, for the ssh access part, so it will maybe reset any bad setting the upgrades had done.

tape

SSH authentication failure after update to latest RPMs
« Reply #5 on: January 11, 2005, 07:47:31 PM »
Quote from: "gregswallow"
Maybe go into the server-manager remote access setting and change them to off, then back to on a minute later, for the ssh access part, so it will maybe reset any bad setting the upgrades had done.


nope.. it didn“t work. The log shows the changes are made but with no different. This machine seems to be sick! maybe i should try removing rkhunter next time (if it was the bad part), but have to wait til i am at the machine. very strange machine....


Anton

egerards

ssh fix
« Reply #6 on: January 11, 2005, 10:55:09 PM »
Some time ago I also experienced this problem. It can be solved by removing the all openssh and SMEServer RPMs and reinstall them. Of course console access is required.

For a colleague without command line skills, I wrote a script which does it all.
If interested, download http://egerards.com/sme_ssh_fix/ssh_fix.sh and execute the script. It will remove mentioned RPMs, download the new ones and install them.

Offline smeghead

  • *
  • 563
  • +0/-0
SSH authentication failure after update to latest RPMs
« Reply #7 on: January 12, 2005, 05:49:24 PM »
I presume you regen'd the config file for ssh and informed SME of the change after the install completed:

/sbin/e-smith/expand-template /etc/ssh/sshd_config
/sbin/e-smith/signal-event remoteaccess-update

HTH
..................

tape

SSH authentication failure after update to latest RPMs
« Reply #8 on: January 14, 2005, 05:32:55 PM »
Quote from: "smeghead"
I presume you regen'd the config file for ssh and informed SME of the change after the install completed:


yes i did, as described in the readme on the ftp site.

many thanks
Anton

tape

Re: ssh fix
« Reply #9 on: January 14, 2005, 05:35:58 PM »
Quote from: "egerards"
Some time ago I also experienced this problem. It can be solved by removing the all openssh and SMEServer RPMs and reinstall them. Of course console access is required.


bingo... it works! I tried reinstalling the openssh* packages only but together with the others it worked great.

many thanks and best regards from South Germany
Anton