[This post was originally posted as a Stackoverflow question.]
I’ve upgraded from Mac OS X Snow Leopard to Lion. I used several scripts with sshpass
but after I upgraded to Lion the following error appears:
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: Device not configured
debug1: permanently_drop_suid: 502
ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory
I can only connect with sshpass
(or type the password manually). No public/private key way. I’ve reinstalled MacPorts and sshpass
.
- How can I get
ssh-askpass
? - How can I configure
/dev/tty
?
Update, 2011-07-26: It seems that Apple removed sshpass
from Mac OS X.