LoginSignup
0
0

More than 5 years have passed since last update.

SSHのパスワード認証をGUIで行う方法

Last updated at Posted at 2018-12-30

SSHのパスワード認証は通常CLI上で行いますが、これを以下のようなGUIのダイアログで行う方法についてまとめます。
Screenshot from 2018-12-31 11-00-29.png

設定

  1. echo 'if type ssh-askpass &> /dev/null; then export SSH_ASKPASS=$(which ssh-askpass); fi' >> ~/.bashrcコマンドを実行し、環境変数を設定します。
  2. source ~/.bashrcコマンドを実行し、環境変数の設定を有効にします。

ログイン方法

パスワード認証をGUIのダイアログで行いたい場合

  1. setsid ssh username@hostコマンドを実行します。

パスワード認証をCLI上で行いたい場合

  1. ssh username@hostコマンドを実行します。

参考文献

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