This is a wrapper for ssh which reads the password from stdin and sets things up so that ssh will recall the wrapper to get the password, which will be read from the parent process using a pipe.
It is used by pam_mount(8) to mount SSH-based filesystems, such as ccgfs and sshfs.
This program is imported from hxtools, a tool suite by Jan Engelhardt. Idea by John S. Skogtvedt, http://www.debian-administration.org/articles/587
This manpage was originally written by Bastian Kleineidam <[email protected]> for the Debian distribution of libpam-mount but may be used by others.