我正在使用 Ubuntu 8.04 的 VWWare 映像,并在通过 SSH 设置 git 访问时遇到问题
我得到以下输出
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key:
debug1: Authentications that can continue: publickey
debug1: Offering public key:
debug1: Authentications that can continue: publickey
debug1: Offering public key:
debug1: Authentications that can continue: publickey
debug1: Offering public key:
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/jars/.ssh/identity
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/jars/.ssh/identity':
debug1: read PEM private key done: type RSA
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
我已经生成了密钥ssh-keygen -t rsa
并将它们重命名为identity
(private) 和ida_rsa
(public),因为最初它们不是由ssh
.
我还创建了一个配置文件,如此处所述...
http://help.github.com/troubleshooting-ssh/
没有改变。
我是否遗漏了什么,或者在 VMWare 中使用 SSH 通常有什么问题?
问候