Resolve 'Warning: SSH version 1 possible allowed' from Plesk Watchdog

This tip won’t be useful for everybody, but for anybody with a dedicated server you’ll probably be familiar with this error message that gets sent weekly from the security scanner on your server.

The error email I get from “watchdog” once a week looks like this:

Security scanning generated the following warnings (the full scanning log
is available at /var/log/rkhunter.log):

[01:01:51] ————————- Security advisories ————————-
[01:01:52] Warning: SSH version 1 possible allowed!

To fix this problem, we’ll need to edit the sshd_config file, which is the main configuration file for the sshd service. The location will sometimes be different, but it’s usually in /etc/ssh/. Open the file up while logged on as root.

note: Be careful, if you screw this up you won’t be able to ssh to your server anymore…

vi /etc/ssh/sshd_config

Find this section in the file, containing the line with “Protocol” in it. Here’s where the problem is… we need to explicitly tell the sshd service to only use version 2.

#Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::

If the line is commented out or has both 2,1 in it, you’ll need to make it look like this (leave the other lines alone)

Protocol 2

Now you’ll need to restart the sshd service:

/etc/init.d/sshd restart

You shouldn’t get those error emails anymore.

Article Resolve 'Warning: SSH version 1 possible allowed' from Plesk Watchdog compiled by Original article here

More stories

Add Search Forms to the Firefox Search Bar

Wouldn’t it be cool if you could add search plugins for any search form to the Firefox Search Bar, instead of having to create the plugin yourself or wait for the site owner to stop being lazy and make one?

Disable Windows Calendar in Windows Vista

If you don’t use the built-in Windows Calendar or use it to display your Google calendar, you might be interested in removing the application from Windows Vista.

Scan Files for Viruses Before You Download With Dr.Web

If you frequently download files from suspicious sites, it’s probably worth it to check for viruses Before you download, instead of waiting to see if your regular anti-virus software will catch it after you download.

Why Does My Password Expire in Windows?

A reader on the forum asked yesterday why his password kept expiring on his Windows Vista installation, so here’s the answer for everybody: Windows XP Professional, Windows Vista Business and Windows Vista Ultimate all have a built-in feature to allow user accounts to have a password expiration.

Finding RSS Subscriber Counts Through Apache Logs

If you’ve declined to use a service like FeedBurner to handle your RSS feeds, you might wonder how many subscribers you actually have. This also works well for finding subscriber counts to specific categories or comment posts on your site, which you typically wouldn’t run through FeedBurner.

Stop Windows Update from Hijacking the Sleep/Shutdown Button

As an avid user of the Sleep function on my laptop, I’ve been more than irritated with Windows 7 or Vista’s habit of changing the Sleep/Shutdown button into an “Install Updates and Shut Down” button whenever there are updates from Windows Update.

Easily Burn ISO Images With ISO Recorder V2

My favorite application to burn ISO images is ISO Recorder V2.  I have been using this application for a couple of years and like it because it is so simple and free (although donations are gladly accepted). 

Linux Tip: How to Tell if Your Processor Supports VT

Virtualization Technology (VT) is a set of enhancements to newer processors that improve performance for running a virtual machine by offloading some of the work to the new cpu extensions. Both AMD and Intel have processors that support this technology, but how do you tell if your system can handle