我正在尝试使用 ssh-keys 和 git-shell 设置安全的 git 存储库服务器。由于我们的用户数据库存储在中央 LDAP 目录中,我无法将用户的默认 shell 更改为 git-shell,因此我尝试将 git-shell 命令添加到 authorized_users 文件中的公钥,如下所示:
command="git-shell -c $SSH_ORIGINAL_COMMAND" ssh-dss AAAAB3NzaC1kc3...
Run Code Online (Sandbox Code Playgroud)
但是,git-shell 甚至不允许我克隆存储库:
dhcp202:git-ws frank$ git clone ssh://gitserver/var/repos/git/myrepo/
Cloning into myrepo...
fatal: What do you think I am? A shell?
fatal: The remote end hung up unexpectedly
Run Code Online (Sandbox Code Playgroud)
任何想法表示赞赏...
我经常不得不进行演示,其中包括对昂贵的西装穿着类型的复杂网络图的广泛使用。我一直使用 Visio 制作网络图,但总觉得它们看起来很笨重。还有哪些其他软件可以: