Hello,
I have access to several linux servers (mostly centos based) located in a DC in another country.
from day to day I need to login to each of them to do some work (they dont have gui/window manager installed, I work only from console), or even to just do a check like df -h for disc usage.
I have stored all the ssh passes to a locked file and each time I have to run putty, copy/paste the pass for each server (I have locked root login, you have to authenticate as a user first then run su)etc etc.
My idea is to create a script (that will be localy in a linux vm) that will
1) just do a complete ssh connection to the server just by typing a command for example the server's name "server1"
2)run a command in a server and give me the ouput, like df -h in "server1"
about the 1st , if straight root connection was enabled it would be easy, but I dont know how to do it now that root login is not permited.