在Phabricator中使用git和ssh

在Phabricator中使用git和ssh,git,ssh,phabricator,Git,Ssh,Phabricator,我正在将服务器配置为使用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 (

我正在将服务器配置为使用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'
我看到在ssh执行之后,人们会得到

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

这可能表明公钥的格式有问题。它是从UI中的Phabricator生成的还是您导入的

此外,您还可以查看Bitnami的指南: