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
仅有的幸福2017-05-02 09:52:12
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.
漂亮男人2017-05-02 09:52:12
ssh-keygen -t rsa -C "baijunyao@baijunyao.com"
is generated through commands;
高洛峰2017-05-02 09:52:12
This is a comment on the key
Default = username@hostname
username@hostname
设置 ssh-keygen -t rsa -b 2048 -C "comment here"
Setting ssh-keygen -t rsa -b 2048 -C "comment here"