403
回編集
(ページの作成:「= パスワード認証を無効化 = 次のファイルに、以下の設定を行う。 * /etc/ssh/sshd_config <nowiki> PasswordAuthentication no </nowiki> 次の…」) |
|||
(同じ利用者による、間の5版が非表示) | |||
<nowiki>
$ sudo systemctl reload sshd
</nowiki>
= SSHクライアント設定 =
== SSHキー作成 ==
<nowiki>
$ ssh-keygen -t ed25519 -C "example@example.com" -f id_ed25519_example
$ ssh-copy-id -i identity_file example.com
</nowiki>
== ssh-agent ==
<nowiki>
$ eval `ssh-agent`
$ ssh-add
</nowiki>
== known_hosts ==
削除
<nowiki>
$ ssh-keygen -f "/home/mede/.ssh/known_hosts" -R "HOST"
</nowiki>
|