Brief
Surmise about ssh-keygen
What is ssh-keygen?
create ssh key pairs, a secret key and a public key
Environment
CentOS
Basic Syntax
ssh-keygen <options>
e.g.
# create a secret key and a public key
# The keys are created in the folder of /root/.ssh/ at the default
ssh-keygen -t 'algorithm name' -m 'comment'
# create a public key from a secret key
ssh-keygen -yf ${private_key_file} > ${public_key_file}
No comments:
Post a Comment