This blog moved to medium->https://medium.com/@cocoamaemae

Tuesday, August 9, 2016

How to use ssh-keygen

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

Front End Development Tools

TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...