stm has asked for the wisdom of the Perl Monks concerning the following question:
We have a perl script running in a RHEL server. The script functionality is to connect to a remote appliance through SSH and run few commands and gather outputs and parse them. This is fully automated.The script uses system function to run SSH, user id and password. Our concern is anyone who has read access of this script can see user name and password of the appliance.
Is there a way to hide the credentials? possible to convert as a non-human readble format to unix tools like more, cat,etc ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to hide the user id and password inside the perl script?
by QM (Parson) on Jul 21, 2015 at 11:11 UTC | |
|
Re: How to hide the user id and password inside the perl script?
by locked_user sundialsvc4 (Abbot) on Jul 21, 2015 at 11:44 UTC | |
by mr_mischief (Monsignor) on Jul 21, 2015 at 15:50 UTC |