Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
SSH Server and Hash algorithms
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
alexm  
View profile  
 More options Jun 5 2012, 12:07 pm
Newsgroups: comp.security.ssh
From: alexm <al...@ndtel.com>
Date: Tue, 5 Jun 2012 11:07:40 -0500
Local: Tues, Jun 5 2012 12:07 pm
Subject: SSH Server and Hash algorithms
I have a Centos 6.2 server freshly updated. It is authenticating
against an Ldap server, and I am having an issue with the hashing
algorithms being used by various utilities and servers.

First of all:

authconfig --test | grep hashing
password hashing algorithm is sha512

However, when I change a password using the passwd command, I see the
following:

smbldap-usershow al...@domain.com
dn: uid=al...@domain.com,ou=domain,o=ndtc
uid: al...@domain.com
cn: Alex M
mail: al...@domain.com
...
userPassword: {crypt}$1$kxH/MHL7$.51e8u0CooCalDaXsHSKD/

Crypt? OK, well, it's a crypt (MD5) password even though authconfig
says it'll be using sha512... But, I can log in using sshd.

Now, if I change the password using the smbpasswd utility, and rerun
the smbldap-usershow command:

dn: uid=al...@domain.com,ou=domain,o=ndtc
uid: al...@domain.com
cn: Alex
mail: al...@domain.com
...
userPassword: {SSHA}UGRSbhcFL0qLRdj6yWvqRidZPfIiBPYb

OK, now it's an SSHA (sha512) hash! BUT, I can no longer ssh to the server!

WTF??? Anyone have any insights into what I am missing here, and more
importantly, how I can fix it? I'd obviously rather use SSHA than
Crypt...

TIA!

Alex


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spazza  
View profile  
 More options Jun 5 2012, 1:35 pm
Newsgroups: comp.security.ssh
From: spazza <spa...@alum.com>
Date: Tue, 05 Jun 2012 19:35:39 +0200
Local: Tues, Jun 5 2012 1:35 pm
Subject: Re: SSH Server and Hash algorithms
Il 05/06/2012 18.07, alexm ha scritto:

> ...
> userPassword: {SSHA}UGRSbhcFL0qLRdj6yWvqRidZPfIiBPYb

> OK, now it's an SSHA (sha512) hash! BUT, I can no longer ssh to the server!

It is a Salted SHA-1, not a SHA512.
I dont know if it  matter for your problem.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
alexm  
View profile  
 More options Jun 5 2012, 2:42 pm
Newsgroups: comp.security.ssh
From: alexm <al...@ndtel.com>
Date: Tue, 5 Jun 2012 13:42:07 -0500
Local: Tues, Jun 5 2012 2:42 pm
Subject: Re: SSH Server and Hash algorithms
On 2012-06-05 17:35:39 +0000, spazza said:

> It is a Salted SHA-1, not a SHA512.
> I dont know if it  matter for your problem.

Curiouser and curiouser...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »