ssh: 호스트 localhost 포트 22에 연결: 연결이 거부되었습니다.

ssh: 호스트 localhost 포트 22에 연결: 연결이 거부되었습니다.

나는 hadoop그것을 설치 했고 ssh.hadoopsbin/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'.

이 문제를 어떻게 해결할 수 있나요?

관련 정보