openssh

Walter Marchuk marchuk at ee.washington.edu
Fri Feb 16 12:38:55 PST 2001


It is not authenticating correctly. Its authenticating using DES instead
of MD5. Change your hashed password entry to DES or reconfigure your ssh.

Here's a script i wrote awhile back.

#!/usr/bin/perl
# Name: crypt
# Description: Crypts passwords
# Author: Walter Marchuk
# Date: 08/10/2000
########################

$password = $ARGV[0];
$option = $ARGV[1];

# Options checking
if (!($password) || ($password eq "-h") || ($password eq "--help"))
{
print qq[ Crypt utility. \n Author: Walter Marchuk\n Date: 08/10/2000\n Version: 1.0\n HELP:\n crypt <password text> <-n>\n -n No newline\n];
exit 1;
}

srand(time||$$);
$salt = int(rand(9934));
$cryptedpass = crypt($password, $salt);

if (($option eq "-n"))
{
print "$cryptedpass";
}
else
{
print "$cryptedpass\n";
}
exit 0

*****************************
Walter Marchuk
Senior Computer Specialist
University of Washington
Electrical Engineering
Room: 307g
206-221-5421
marchuk at ee.washington.edu
*****************************

On Fri, 16 Feb 2001, Cliff wrote:


> Hey all,

>

> Wondering if anyone has compiled the latest version of openssh on

> slackware? I compiled openssl on my P90 (ugh, that took forever) and

> then compiled openssh with no compiler errors. But when I started up

> the new version of sshd, I was not able to ssh back in. I could

> connect, but my password was not accepted for any account...I tried

> connecting with both the version 1 ssh.com client as well as the openssh

> client...

>

> I haven't checked any documentation yet, so forgive me if I need to

> RTFM.

>

> Thanks,

> Cliff

>

>




More information about the Linux mailing list