For example, there is a text XXX@local at the end of the pub file. Where does this text come from? How to set it up
学习是最好的投资!
It is automatically filled in when generating the public key,ssh-keygen 默认会用用户名@主机名.
ssh-keygen
用户名@主机名
This thing has nothing to do with cryptography, it’s just a comment used to distinguish public keys. You can modify it or delete it after it is generated.
ssh-keygen -t rsa -C "baijunyao@baijunyao.com"
is generated through commands;
This is a comment on the keyDefault = username@hostnameusername@hostname设置 ssh-keygen -t rsa -b 2048 -C "comment here"Setting ssh-keygen -t rsa -b 2048 -C "comment here"
username@hostname
ssh-keygen -t rsa -b 2048 -C "comment here"
-C parameters after
It is automatically filled in when generating the public key,
ssh-keygen
默认会用用户名@主机名
.This thing has nothing to do with cryptography, it’s just a comment used to distinguish public keys. You can modify it or delete it after it is generated.
is generated through commands;
This is a comment on the key
Default =
username@hostname
username@hostname
设置
ssh-keygen -t rsa -b 2048 -C "comment here"
Settingssh-keygen -t rsa -b 2048 -C "comment here"
-C parameters after