我在下面的教程。
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys–2
它是在Windows 10 C:Users<user name>.ssh上生成的文件
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.
仍然无法连接到服务器。
通过做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密钥 ”)