Hello everyone, after searching for an answer to this and only finding something that seemed only for 'scp', I wonder if It can be done with net::openssh. I know it is a bad idea to keep passwords inside scripts or config files therefore I need a better way to handle this.
My question is this: Is it possible to use /etc/passwd to provide the password to login to ssh sessions using net::openssh? If so, how would one go about this?
I am aware that I can use public key's to make this happen but I would find it easier to use /etc/passwd instead.
Any suggestions?
Thanks, Marc
In reply to NET::OpenSSH and /etc/passwd by mlebel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |