Rud*_*koŭ 2 linux security ssh unix
openssh-server /etc/ssh/sshd_config添加PasswordAuthentication no .ssh/authorized_keys我同事的公开案例中问题:
sudoer git命令之外的所有操作? 小智 5
您应该将用户 git-server 的默认 shell 更改为 git-shell。
https://git-scm.com/docs/git-shell.html
这是 SSH 帐户的登录 shell,用于提供受限的 Git 访问。它仅允许执行实现拉/推功能的服务器端 Git 命令,以及用户主目录中名为 git-shell-commands 的子目录中存在的自定义命令。
| 归档时间: |
|
| 查看次数: |
882 次 |
| 最近记录: |