Answers for "bash ssh connection with password in command"

1

login to ssh with password

ssh -o PasswordAuthentication=yes user@hostname
Posted by: Guest on October-22-2020
0

linux ssh with password in one line

sshpass -p '[your_password]' ssh -o StrictHostKeyChecking=no [username]@[hostname]
Posted by: Guest on April-05-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language