For an example ~/.ssh/authprogs.conf please see: head -40 /usr/bin/authprogs After installation of which you can add command="/usr/bin/authprogs" before key declarations in ~/.ssh/authorized_keys2 See also: the src directory upstream or the following article: http://www.hackinglinuxexposed.com/articles/20030115.html