Workload: Connection Refused Failure When Trying to SSH Into Appliance
search cancel

Workload: Connection Refused Failure When Trying to SSH Into Appliance

book

Article ID: 291339

calendar_today

Updated On:

Products

Carbon Black Cloud Workload

Issue/Introduction

Failure when trying to connect via SSH into Appliance
ssh: connect to host <IPAddress> port 22: Connection refused

Environment

  • Carbon Black Cloud Workloads: All Versions

Cause

sshd service is not running

Resolution

1.    Login to vCenter Console
2.    Open the CWP appliance shell in a web console from the vCenter
3.    Login to the appliance as root user
4.    Run command: systemctl start sshd.service

Additional Information

To check if the sshd service is up, run command: : systemctl status sshd.service - Command should look like 
sshd.service - OpenSSH Daemon
Loaded: loaded (/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-03-29 11:47:48 UTC; 11min ago