1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

sshで強制的にパスワードログインを実行させる

Posted at

SSHでは通常、公開鍵認証が優先されますが、パスワード認証を強制的に使用したい時はないでしょうか。いつも忘れてしまうので、メモ書きさせていただきます。

ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no username@server_ip
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?