Is their any option to encrypt ssh password?.
Hello Team,
I am trying to connect remote server using password , password is provided via clear test file "passwdtmp"
PASS=~/passwdtmp
usrs=cat ~/myuser
sshpass -f $PASS ssh -n $usrs@$IP -o ConnectTimeout=60 -o StrictHostKeyChecking=no "command"
Is their is any way to encrypt password in "passwdtmp" and read by sshpass ?
Note : I don't want to use key based authentication.
Regards,
Vijay