ssh: ホスト localhost ポート 22 への接続: 接続が拒否されました。

ssh: ホスト localhost ポート 22 への接続: 接続が拒否されました。

私はhadoopそれをインストールしましたsshhadoopsbin/start-dfs.sh

Starting namenodes on [localhost]
localhost: ssh: connect to host localhost port 22: Connection refused
Starting datanodes
localhost: ssh: connect to host localhost port 22: Connection refused
Starting secondary namenodes [chbpc-VirtualBox]
chbpc-VirtualBox: ssh: connect to host chbpc-virtualbox port 22: Connection refused

SSHステータスを確認しましたが、次のエラーが発生しました。

ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Tue 2020-02-04 15:34:10 +04; 3h 35min ago
Process: 946 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255)

Feb 04 15:34:09 chbpc-VirtualBox systemd[1]: ssh.service: Control process exited, code=exited status=255
Feb 04 15:34:09 chbpc-VirtualBox systemd[1]: Failed to start OpenBSD Secure Shell server.
Feb 04 15:34:09 chbpc-VirtualBox systemd[1]: ssh.service: Unit entered failed state.
Feb 04 15:34:09 chbpc-VirtualBox systemd[1]: ssh.service: Failed with result 'exit-code'.
Feb 04 15:34:10 chbpc-VirtualBox systemd[1]: ssh.service: Service hold-off time over, scheduling restart.
Feb 04 15:34:10 chbpc-VirtualBox systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 04 15:34:10 chbpc-VirtualBox systemd[1]: ssh.service: Start request repeated too quickly.
Feb 04 15:34:10 chbpc-VirtualBox systemd[1]: Failed to start OpenBSD Secure Shell server.
Feb 04 15:34:10 chbpc-VirtualBox systemd[1]: ssh.service: Unit entered failed state.
Feb 04 15:34:10 chbpc-VirtualBox systemd[1]: ssh.service: Failed with result 'start-limit-hit'.

この問題をどのように解決できますか?

関連情報