Edited at

ssh public key生成

More than 1 year has passed since last update.

ssh-keygen

press enter so the key goes to the default location
press enter to leave passphrase empty
press enter to confirm the empty passphrase
ssh-copy-id hoge@x.x.x.x
ssh-copy-id hoge@webserver.local