LoginSignup
0
1

More than 5 years have passed since last update.

SSH Key作成から鍵認証のために鍵をリモートサーバーにコピーするまで

Last updated at Posted at 2018-12-20

いつも忘れて調べてるのでメモ。

まずは鍵作成。

terminal
ssh-keygen -t rsa -b 4096

リモートに鍵をコピー

terminal
# ~/.ssh/id_rsa.pubを渡す場合
ssh-copy-id "ユーザー名"@"リモートサーバーのアドレス"

参考:
お前らのSSH Keysの作り方は間違っている
ssh-copy-idで公開鍵を渡す

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1