From: Joe Martin Date: 2009-10-23T02:21:39+09:00 Subject: Using SHA1 Digested Passwords for SSH connection Hello all. For testing, I have been inputting some various user credentials into a database. The passwords are hashed (digested) with the SHA1 algorithm. I have a script set up to read these passwords, and use them for credentials for connecting to other machines to perform actions on each. As you can imagine, passwords in clear-text connect just fine, but I'm wondering if its possible to force the host to verify the digested password, and allow the connection if the password matches the host's stored password. I'm using Net/SSH for connections to UNIX hosts, and WIN32OLE for WMI/Registry connections on Windows. If this is not possible how would I accomplish this? Basically, I want to store passwords in a database in a secure fashion, read these passwords and use them to connect to remote hosts. Is there a way to accomplish this, or am I going about it the wrong way? This is my first stab at security, so I'm slowly learning as I go along. Thanks! -- Posted via http://www.ruby-forum.com/.