SSHPASS(1) Sshpass User Manual SSHPASS(1) (NAME) sshpass - ssh (SYNOPSIS) sshpass [-ffilename|-dnum|-ppassword|-e[env_var]] [options] command arguments (DESCRIPTION) sshpass . sshpass ssh (<>) . ssh TTY . Sshpass ssh tty . sshpass . <> . (password prompt) ssh sshpass . (OPTIONS) sshpass . : -ppassword . << (SECURITY CONSIDERATIONS)>> . -ffilename filename . -dnumber number sshpass . . -e[env_var] . env_var . SSHPASS . -P . Sshpass TTY . sshpass <> ( <> <> ). . -v (verbose). stderr . (SECURITY CONSIDERATIONS) sshpass ssh . sshpass ssh . -p sshpass . <> . Sshpass (race conditions) . sshpass . (anonymous pipe) -d sshpass . (EXIT STATUS) sshpass 0 . : 1 2 3 4 ssh ( ) 5 / 6 . sshpass . 7 IP . sshpass . ssh (man in the middle) . tty . sshpass ssh (stderr) . ssh . ( ) <<255>> . (EXAMPLES) rsync SSH : rsync --rsh='sshpass -p 12345 ssh -l test' host.example.com:path . bourne shell : SSHPASS=12345 rsync --rsh='sshpass -e ssh -l test' host.example.com:path . (BUGS) Sshpass pty(7) TTY ssh . (slave) pty (master) EIO . pty /dev/tty . 100% . . sshpass . OpenSSH 5.6 . sshpass . HPUX Posix TTY . sshpass . Shachar Shemesh May 27, 2022 SSHPASS(1)