Summary
SSH connections can be refused due to a variety of issues, such as the SSH service being down, incorrect credentials, the port being closed, no SSH daemon installed on the server, or firewall settings preventing the connection.
1
2
To fix this, you may need to configure the firewall to allow SSH connections
2
, or make sure that your internet facing router is forwarding port 22 to your Powerbook.
3
Additionally, you may need to ensure that your Mac OS X Firewall is allowing SSH remote logins.
3
According to
See more results on Neeva
Summaries from the best pages on the web
Summary
When trying to connect to a server via SSH, there are many potential causes of a Connection refused error. Common issues include the SSH service being down, entering the wrong credentials, the port being used being closed, not having an SSH daemon installed on the server, and firewall settings being preventing an SSH connection. Kinsta provides a secure and developer-friendly hosting solution that is designed to make connecting to a server as easy and secure as possible.
How to Fix the "Connection Refused" Error in SSH Connections
kinsta.com
Summary
If across the internet, you will need to make sure that your internet facing router is forwarding port 22 to your Powerbook. Also make sure that your Mac OS X Firewall is allowing ssh remote logins: System Preferences -> Security -> Firewall. Of course if you have your Firewall turned off, this is not an issue.
ssh fails with "Port 22: connection refus… - Apple Community
apple.com
Hi, I use Mac OS X version 10.7.5 and my software is up to date. Here is my problem: I ... error: ssh: connect to host localhost port 22: Connection refused ...
SSH connection refused | MacRumors Forums
macrumors.com
I was trying to log in my server through Mac Terminal.I typed ‘ssh root@ipaddress ... me ‘ssh: connect to host ipaddress port 22: Connection refused’. ...
port 22: Connection refused | DigitalOcean
digitalocean.com