LoginSignup
3
3

More than 5 years have passed since last update.

パスワードなしでSSHログイン

Posted at
local$ ssh-keygen -t dsa

出力するファイル名、パスフレーズの入力を求められますが
何も入力せずに全てEnteyキーを押下して下さい。

local$ scp ~/.ssh/id_dsa.pub name@remort.host:
local$ ssh name@remort.host
remote$ cd .ssh/
remote$ cat id_dsa.pub >> authorized_keys
remote$ chmod 600 authorized_keys
remote$ rm id_dsa.pub

参考

3
3
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
3
3