0

我已经在 IIS (gitweb.codeplex.com) 上成功安装了 Smart-HTTP Git 服务器并使用 Windows 身份验证配置了访问权限,但是每次从客户端访问服务器存储库都需要输入用户名/密码。

是否可以使用当前登录的用户凭据配置访问权限 - 类似于 :sspi: in cvsnt?(必要时可以切换到另一台服务器)

4

1 回答 1

0

For anyone who wanders on that question - here is solution for client side to configure ssh with auth via kerberos (server was configured by our admin).

  1. Install "Putty with Kerberos"
  2. Install git and choose user plink as ssh and choose plink from "Putty with Kerberos".
  3. If environment variable GIT_SSH is not set to plink, set it manually
  4. Run putty from putty.exe "Putty with Kerberos". Enter path to your server and choose ssh. In Connection/SSH/Kerberos select "Attempt Kerberos auth (SSH-2)" on the same page in "auto-login username" select "User name portion of user principal name" In Connection/SSH/Auth unselect "Bypass authentication entirely (SSH-2 only)" and unselect "Display pre-authentication banner (SSH-2 only)." Go back in session and save settings in "Default Settings"
  5. Connect to your server and then it offers to save public key of server in registry - agree.
于 2012-06-06T16:06:37.247 回答