使用SSH Keygen无法连接到Windows 10 GIT上的服务器

我在下面的教程。

https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys–2

它是在Windows 10 C:Users<user name>.ssh上生成文件

我正在使用GIT来生成文件

在服务器端生成私钥(cert)是不是一个好主意?

Postgresql不会启动:“server.key”具有组或世界访问权限

Nginx错误日志中显示“SSL_CTX_use_PrivateKey_file”“获取密码错误的问题”是什么意思?

由于私钥filter,使用signtool进行代码签名失败

在macos上将.pem转换为.ppk

~/Desktop $ PermitRootLogin without-password bash: PermitRootLogin: command not found $ ssh a@b.com a@b.com's password: Permission denied,please try again.

我使用puttygen.exe生成了.ppk文件

仍然无法连接到服务器。

通过做ssh -Tv a@b.com

它会给出下面的回应

OpenSSH_7.1p2,OpenSSL 1.0.2h 3 May 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to a@b.com [XXX.XXX.XXX.XX] port 22. debug1: Connection established. debug1: identity file /c/Users/XUser/.ssh/id_rsa type 1 debug1: key_load_public: No such file or directory debug1: identity file /c/Users/XUser/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /c/Users/XUser/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /c/Users/XUser/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /c/Users/XUser/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /c/Users/XUser/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /c/Users/XUser/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /c/Users/XUser/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.1 debug1: Remote protocol version 2.0,remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.6 debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.6 pat OpenSSH_6.6.1* compat 0x04000000 debug1: Authenticating to a@b.com:22 as 'XUser' debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client chacha20-poly1305@openssh.com <implicit> none debug1: kex: client->server chacha20-poly1305@openssh.com <implicit> none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ecdsa-sha2-nistp256 SHA256:WrjAO7ldoJ3vjYENd6v7JvxXkbquvvom16RYGKeRO70 debug1: Host 'a@b.com' is kNown and matches the ECDSA host key. debug1: Found key in /c/Users/XUser/.ssh/kNown_hosts:2 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering RSA public key: /c/Users/XUser/.ssh/id_rsa debug1: Authentications that can continue: publickey,password debug1: Trying private key: /c/Users/XUser/.ssh/id_dsa debug1: Trying private key: /c/Users/XUser/.ssh/id_ecdsa debug1: Trying private key: /c/Users/XUser/.ssh/id_ed25519 debug1: Next authentication method: password XUser@a@b.com's password: debug1: Authentications that can continue: publickey,password Permission denied,please try again. XUser@a@b.com's password:

如何使用gpg中的私钥encryption文件

无法使用openssl获取私钥(no start line:pem_lib.c:703:Expecting:ANY PRIVATE KEY)

openssl命令等价于python?

亚马逊EC2失去了私钥,如何获得服务器的访问?

stream浪SSH认密钥密码?

如果你有

您的公钥: C:Users<user name>.sshid_rsa.pub

您的私钥: C:Users<user name>.sshid_rsa

请复制您的公钥(请参阅“ 如何在DigitalOcean小滴中使用SSH密钥 ”)

相关文章

本篇内容主要讲解“gitee如何上传代码”,感兴趣的朋友不妨来...
这篇“从gitee上下的代码如何用”文章的知识点大部分人都不太...
这篇文章主要介绍“gitee如何下载仓库里的项目”,在日常操作...
本篇内容主要讲解“怎么在Gitee上更新代码”,感兴趣的朋友不...
本文小编为大家详细介绍“怎么将工程托管到gitee”,内容详细...
这篇文章主要介绍了gitee中图片大小如何调整的相关知识,内容...