{"id":69,"description":"sshpass - specify password for ssh/scp login non-interactively","tags":["shell","linux","commands","scp"],"contents":["`sshpass -p \u003cpassword\u003e ssh user@host \"command to run\"` - Use the specified password to connect using ssh","`sshpass -p \u003cpassword\u003e scp \u003csource\u003e \u003cdestination\u003e` - Use the specified password to connect using scp","`SSHPASS=password sshpass -e ssh user@host command` - Take the password from the environment variable SSHPASS"]}
