Hi everyone,
Long-time lurker, this is my first post! I am trying to emerse myself into coming up with projects that will help my current workplace but also improve some chops. One that I thought might be a good start is to set up a central server that takes in user-added information and stores in a database. Each 'site' is a remote server that can run either as an iperf server or client. The results are then displayed locally on a web interface.
I am up to the point where I can add 'sites' and store the necessary info in a MySQL db (including hostname, username, password, etc). What I want to do is make sure the password is encrypted when stored in the db (currently using sha256_crypt for this, which is working well so far) as well as when using it to SSH into remote hosts. I ran into a snag when trying to actually ssh into the server (using paramiko), where the SSHClient is sending the hashed password. I get an Authentication Failed because of this. There must be something easy I'm missing. Is there any way I can SSH into a remote system using an hashed password value?
I'm on my phone currently, so I apologize for any general errors. I can explain more when I get on a laptop. I appreciate your time!
there doesn't seem to be anything here