有没有一种方法可以让运行AFS的系统无密码登录?我尝试了ssh密钥对,但是虽然我登录没有问题,但我没有得到一个AFS令牌。每隔24小时,我就需要一个新的AFS令牌,我可以通过Kerberos和我的密码在服务器上对其进行身份验证,从而使无密码登录变得毫无意义。
发布于 2016-04-03 06:15:27
获取AuriStorFS或OpenAFS的AFS令牌需要访问Kerberos票证授予票证。使用以下命令建立ssh会话
GSSAPIAuthentication yes
# Specifies whether user authentication based on GSSAPI is allowed.
# The default is ``no''. Note that this option applies to protocol
# version 2 only.
GSSAPIDelegateCredentials yes
### Forward (delegate) credentials to the server. The default is
# ``no''. Note that this option applies to protocol version 2
# only.可以将Kerberos票证授予票证转发到目标计算机。有了TGT,就可以通过pam-afs-session获得AFS令牌。
我希望这能帮到你。
https://stackoverflow.com/questions/35188976
复制相似问题