【发布时间】:2015-04-15 23:58:07
【问题描述】:
我正在配置我的服务器以使用 Phabricator 配置运行 ssh,以便将 git 与 ssh 一起使用。 但是当我尝试通过 ssh 连接到服务器时,我会在我的 sshd 日志中得到下一件事
debug3: Running AuthorizedKeysCommand: "/usr/libexec/phabricator-ssh-hook.sh vcs-user" as "vcs-user"
debug1: restore_uid: 0/0
debug1: temporarily_use_uid: 1000/1000 (e=0/0)
debug2: key_type_from_name: unknown key type 'command="'/srv/www/phabricator/phabricator/bin/ssh-exec''
debug3: key_read: missing keytype
debug2: user_key_allowed: check options: 'command="'/srv/www/phabricator/phabricator/bin/ssh-exec' '--phabricator-ssh-user' 'bogdaniy' '--phabricator-ssh-key' '1'",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB1NzaC1yc2EAAAADAQABAAABAQC9Vw/7rVzgEhk9W+zdFZ8Qsb/6ZBdjnGouhzqkPrXGiD6apbtS3tarSwXYjuqZxJMGJmkO0PcSUx1YBzpIvlYM6OJ2etzj7+P0wi573C6pDXxb+fJtPGOQJDnhN/v/9HaCLVOL5tvMmFhVWMH25bgCKGtqrZtpgnkReBEWfqTW1zux9c0O783DfHU1yIsc+epRNSKh0HUcDRZISZ3jMDMF8LZs4VBFJFYiADKI8u17HdOcopx98DpRsnDi8t6kj11nh/GzXyxBlTT1CGv8APCHeJRzW8uWspj88TGL4j50J42sEQjM4EzImnkKTvoGyiWYMBGazLt+vN/2guRM4Ost
'
debug2: key_type_from_name: unknown key type 'Ssh-rsa'
我看到在good log ssh-exec 之后人们得到类似的东西
debug1: matching key found: file /etc/phabricator-ssh-hook.sh, line 1 RSA 6a:e7:4c:68:96:7e:4c:87:3c:2f:ca:cd:8d:3e:34:5a
【问题讨论】:
标签: git ssh phabricator