我配置我的服务器使用Phabricator配置运行ssh以使用带有ssh的git。 但是当我尝试通过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-exec之后,我在good log看到了类似
的内容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
答案 0 :(得分:0)
这往往表明您的公钥格式存在问题。它是从Phabricator生成的(在UI中)还是您导入的?
另外,您可以查看Bitnami的指南: https://wiki.bitnami.com/Applications/Bitnami_Phabricator#Using_SSH_authentication