jbeverly / pam_ssh_agent_auth

Moving pam_ssh_agent_auth to github as primary development location
Other
98 stars 27 forks source link

pam_ssh_agent_auth: No ssh-agent could be contacted only on VM on openvz6 #12

Closed WMP closed 5 years ago

WMP commented 5 years ago

Hello, i have VM on LXC and on openvz6 on kernel 2.6.32. When i login to openvz6 hypervisor, sudo works without any problem, but when i try to ssh on virtual machine on openvz6, i have this error: pam_ssh_agent_auth: No ssh-agent could be contacted .

WMP commented 5 years ago

Solved! I havent add Defaults env_keep += "SSH_AUTH_SOCK" to this systems.