Benches macOS

2

ssh fails with "Port 22: connection refus…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi there,

I'm trying to use ssh on my PowerBook G4 running OS 10.5. In particular, I'm trying to log into the PowerBook remotely using ssh from another machine. However, if I try to ssh into the PowerBook, I get an error saying "Port 22: Connection refused". I get this error even if I try to ssh into the IP of the PowerBook using the PowerBook itself. Is there something I have to do to turn on ssh in Leopard?

Thanks,

Adrian

2 replies

Sign in or join Beachball Help to reply.

  1. 0

    BobHarris

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    System Preferences -> Sharing -> Remote Login

    Also, are you trying to do this on the same local area network, or are you trying to do this across the internet.

    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.

    If you continue have problems, the use the ssh -v, ssh -vv, and ssh -vvv option that will give you a great deal more diagnostic information.

  2. 0

    parameter_poem

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    BobHarris wrote:

    System Preferences -> Sharing -> Remote Login

    Perfect, thanks!