加入收藏 | 设为首页 | 会员中心 | 我要投稿 南京站长网 (https://www.025zz.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

Ssh public key format

发布时间:2022-10-21 14:02:20 所属栏目:Linux 来源:互联网
导读: SSH 2 公钥格式为所有字段以单个空格符分隔,各字段依次为选项、密钥类型(keytype)、base64编码后的密钥、注释。 第一个字段是可选的,表示该条目(行)是否以数字开头,选项字段不会以数

SSH 2 公钥格式为所有字段以单个空格符分隔,各字段依次为选项、密钥类型(keytype)、base64编码后的密钥、注释。 第一个字段是可选的,表示该条目(行)是否以数字开头,选项字段不会以数字开头。 最后一个字段注释,如果在生成密钥时没有给定注释linux注释,默认注释为密钥的创建者 (一般就是 [emailprotected] 这种格式) ,注释仅仅是提供给用户查看密钥时作为一个辨识标记,在 SSH 使用中没有任何作用。 密钥类型(keytype)可能是 ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-ed25519, ssh-dss 或 ssh-rsa。 SSH 2 - IETF SECSH 公钥格式. Convert the public key format from SSH2 to OpenSSH Try to find the original SSH2 public key that was provided from the user. Otherwise, use the sshldap command to output the SSH2 public key. You may need to manually insert line-breaks at the appropriate places. Save the SSH2 public key to a file (e.g. ssh2.pub ). Then, run the following command:.

(编辑:南京站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!