Install pam_ssh_agent_auth from a launchpad.net ppa and enable it for sudo on Ubuntu 12.04 (precise) machines.
Patches (especially to support other architectures/OS vesrions) very welcome.
apt
- used to add the ppa.
Key | Type | Description |
---|---|---|
['pam_ssh_agent_auth']['keys'] | Array | Authorized keys to accept when sudo is authenticating via the ssh-agent. |
Just set your authorized keys and include pam-ssh-agent-auth
in your node's run_list
:
{
"pam_ssh_agent_auth": {
"keys": [
"ssh-rsa ...",
"ssh-rsa ..."
]
},
"run_list": [
"recipe[pam-ssh-agent-auth]"
]
}
Please use standard Github issues/pull requests.
Authors: Chris Pick