I need to test SSH authentication on a few servers. Let say the IP Addresses of those servers are saved in ip.txt
file
I've written similar script in Python using paramiko
and netmiko
module.
The problem now I've to test it from a server where there is no Python3 or Internet connection.
Therefore, installation of 3rd party tools or Python modules are not an option here.
expect
, sshpass
are also not available.
The only thing available is bash script. Is it possible to do this on Bash alone? How do I pass password
to the ssh?