sshpass

sshpass

TLDR

Connect to a remote server using a password supplied on a file descriptor (in this case, stdin)

>_ sshpass -d [0] ssh [user]@[hostname]
copy

Connect to a remote server with the password supplied as an option, and automatically accept unknown ssh keys

>_ sshpass -p [password] ssh -o StrictHostKeyChecking=no [user]@[hostname]
copy

Connect to a remote server using the first line of a file as the password, automatically accept unknown ssh keys, and launch a command

>_ sshpass -f [file] ssh -o StrictHostKeyChecking=no [user]@[hostname] "[command]"
copy

Copied to clipboard
free 100$ digital ocean credit