LoginSignup
8
13

More than 5 years have passed since last update.

ローカル環境へのSSH接続時にパスワードなしにしたい

Posted at

How to ssh to localhost without password?

1. ssh-keygen -t rsa
2. cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
3. chmod og-wx ~/.ssh/authorized_keys 

こうやって authorized_keys に公開鍵をぶっこめば聞かれなくなりますよ。という備忘録的メモ

8
13
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
8
13