对于SSH2,其pubkey的写法是,在~/.ssh2/authorization中写如下一行:
1
| Key xxx.xx
|
另外,这个pubkey需要是SSH2的格式,而OpenSSH的机器ssh-keygen默认生成的是OpenSSH的格式,需要这样转换一下:
1
| ssh-keygen -ef id_rsa.pub > for-ssh2.pub
|
ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/fVjECx ppt.cc/fIr1ax ppt.cc/fEnHsx ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com runoob.com man.linuxde.net bit.ly/2EzoUDo bit.ly/2v6jGJi bit.ly/2tW6eYT bit.ly/2X6vadl bit.ly/2viLpHU linuxprobe.com linuxtechi.com linuxstory.org systutorials.com ghacks.net linuxopsys.com reurl.cc/NpzMWe reurl.cc/WrgYdx reurl.cc/Yv4Yvo reurl.cc/Lmy90K reurl.cc/Rr5aeG
1
| Key xxx.xx
|
1
| ssh-keygen -ef id_rsa.pub > for-ssh2.pub
|
No comments:
Post a Comment