sshd サーバーのインスタンスを起動できません

sshd サーバーのインスタンスを起動できません

リモート マシン上で独自の (root ではない) sshd サーバーのインスタンスを起動しようとしましたが、失敗しました。

debug1: sshd version OpenSSH_4.3p2
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug1: setgroups() failed: Operation not permitted
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: rexec_argv[2]='-f'
debug1: rexec_argv[3]='sshd_config'
debug1: rexec_argv[4]='-h'
debug1: rexec_argv[5]='ssh_host_rsa_key'
debug1: rexec_argv[6]='-p'
debug1: rexec_argv[7]='55000'
debug1: Bind to port 55000 on ::.
debug1: Bind to port 55000 on 0.0.0.0.
Bind to port 55000 on 0.0.0.0 failed: Address already in use.
Cannot bind any address.

私の sshd_config ファイルの一部:

#   $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin

 # The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
 # possible, but leave them commented.  Uncommented options change a
 # default value.

 Port 55000
 #Protocol 2,1
 Protocol 2
 #AddressFamily any
 #ListenAddress
 #ListenAddress ::

リスナー アドレスのコメントを解除して任意の IP (明らかに自分の IP (172.16.13.126)) を使用すると、次のエラーが発生します。

Bind to port 55000 on 172.16.13.126 failed: Cannot assign requested address.
Cannot bind any address.

答え1

Bind to port 55000 on 0.0.0.0 failed: Address already in use.

おい、

sshd 出力の最後から 2 番目の行に記述されているように、ポート 55000 は別のプロセスによって使用されているようです。sshd_configファイルで別のポートを設定してみてください。この返信には、sshd を非特権ユーザーとして実行する方法もわかりやすく説明されています。

スレッド: 特定のユーザーとして sshd を実行するにはどうすればよいですか?

試したことはないですが、説明は一見妥当に思えます。

関連情報