LoginSignup
94
56

More than 5 years have passed since last update.

sshとsshdの違い

Last updated at Posted at 2016-09-25
  • ssh(クライアント) : 他のサーバにsshで接続する設定
  • sshd(デーモン) : 他のサーバからsshで接続されるときの設定

sshdは他のサーバのsshクライアントから実行されたコマンドを実行する。

そのため、sshd の動作していないマシンには、ssh クライアントでログインできない。


* ssh
ssh (SSH client) is a program for logging into a remote machine and
for executing commands on a remote machine.

* sshd
sshd (OpenSSH Daemon) is the daemon program for ssh(1). Together
sshd listens for connections from clients. 

■ 設定ファイル

* sshの設定ファイル
 /etc/ssh/ssh_config

* sshdの設定ファイル
/etc/ssh/sshd_config
94
56
1

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
94
56