Mac OS X Lion and sshpass

Published on Christian Mayer's Weblog

[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.

Update, 2011-07-26: It seems that Apple removed sshpass from Mac OS X.

More Resources

Recent Posts

About the Author

Christian is a professional software developer living in Vienna, Austria. He loves coffee and is strongly addicted to music. In his spare time he writes open source software. He is known for developing automatic data processing systems on Debian Linux server.

Categories: Programming, Productivity
Tags: Apple, Mac, OS, X, Lion, sshpass, SSH, Password

Archive | Categories | RSS Feed | Usage | Imprint
Copyright © 2006 by