Koozali.org: home of the SME Server

"Warning: SSH protocol v1 has been enabled..." - what does it mean?

Offline judgej

  • *
  • 375
  • +0/-0
Anyone any idea what this message in the daily rkhunter e-mails means?

Is it something expected, that is not being suppressed by the rkhunter (and should be), or is it something that should not be enabled on the SME Server 7.3 in the first place?
-- Jason

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: "Warning: SSH protocol v1 has been enabled..." - what does it mean?
« Reply #1 on: January 24, 2008, 01:43:42 AM »
What's the output of.....

config show sshd
Regards,
William

IF I give advise.. It's only if it was me....

Offline judgej

  • *
  • 375
  • +0/-0
Re: "Warning: SSH protocol v1 has been enabled..." - what does it mean?
« Reply #2 on: January 24, 2008, 03:28:08 AM »
Code: [Select]
sshd=service
    MaxAuthTries=2
    PasswordAuthentication=yes
    PermitRootLogin=no
    Protocol=2,1
    TCPPort=22
    UsePAM=yes
    access=private
    status=enabled

Am I guessing correctly that it is the '1' in the '2,1'? Something that an upgrade should perhaps have removed at some point?
-- Jason

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: "Warning: SSH protocol v1 has been enabled..." - what does it mean?
« Reply #3 on: January 24, 2008, 07:25:53 AM »
Possibly.

7.something upraded to 7.3 gives me...

sshd=service
    MaxAuthTries=2
    PasswordAuthentication=yes
    PermitRootLogin=yes
    Protocol=2
    TCPPort=22
    UsePAM=yes
    access=public
    status=enabled


I get the same result with three instalations all in server-only mode.

If you have never messed with the Protocol value then I would deem this a bug.
« Last Edit: January 24, 2008, 07:28:34 AM by william_syd »
Regards,
William

IF I give advise.. It's only if it was me....

Offline judgej

  • *
  • 375
  • +0/-0
Re: "Warning: SSH protocol v1 has been enabled..." - what does it mean?
« Reply #4 on: January 24, 2008, 11:22:04 PM »
Thanks, I'll treat it as a bug. This is a machine that has been upgraded over many versions, so may have stuff left over from earlier versions.

I've just compared four servers. The two servers that were installed with SME6.0 are both okay - they have only V2 protocol defined. The two servers that were installed initially with SME5.5 both have V1 protocol in them.

Thanks for the help - I'll get a bug raised.
-- Jason

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: "Warning: SSH protocol v1 has been enabled..." - what does it mean?
« Reply #5 on: January 24, 2008, 11:39:58 PM »
Thanks for the help - I'll get a bug raised.
Which would be bug 3803, just as a service to future readers....
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline judgej

  • *
  • 375
  • +0/-0
Re: "Warning: SSH protocol v1 has been enabled..." - what does it mean?
« Reply #6 on: January 27, 2008, 11:31:46 PM »
Yeah, thanks, I should have done that.

This issue has resulted in an update to the documentation here http://wiki.contribs.org/Log_Files#RK_Hunter_Messages (which needs some further corrections, but I've lost my wiki password again).
« Last Edit: January 27, 2008, 11:38:40 PM by judgej »
-- Jason

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: "Warning: SSH protocol v1 has been enabled..." - what does it mean?
« Reply #7 on: January 28, 2008, 09:10:30 AM »
Yeah, thanks, I should have done that.

This issue has resulted in an update to the documentation here http://wiki.contribs.org/Log_Files#RK_Hunter_Messages (which needs some further corrections, but I've lost my wiki password again).
It should be the same as your forum password, if you still can not login, please file a bug (and perhaps consider downloading soemthing like Keepass to store your passwords :-) )
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline judgej

  • *
  • 375
  • +0/-0
Re: "Warning: SSH protocol v1 has been enabled..." - what does it mean?
« Reply #8 on: January 28, 2008, 11:47:21 AM »
Thanks - page now updated. I completely forgot the Wiki password was the same as the forums, which is why I thought I had 'lost' my password for the wiki - not a trace of it noted down anywhere :-O
-- Jason