Can't sign into remote host with correct SSH password

I have just switched from Windows 11 to a MacBook Pro. I am setting things up in my Mac and for some reason I can not sign into a remote server using my SSH password. Ok, so I checked that it was correct on my PC and sure enough it works on that.

Is there something funky going on with a Mac which would not allow my password to work?


Many Thanks !

MacBook Pro (2020 and later)

Posted on Mar 11, 2022 10:58 AM

Reply
4 replies

Mar 12, 2022 12:59 PM in response to vincej1657

Hello vincej1657.


Thanks for reaching out to Apple Support Communities. We see that you cant sign into a remote server using SSH. We will be glad to assist.


Check out the following steps:

1. On the other computer, open the Terminal  app (if it’s a Mac) or an SSH client.
2. Type the ssh command, then press Return. 
The basic ssh command format is:
ssh username@hostname
The hostname can be an IP address or a domain name. For example, if your user name is steve, and your computer’s IP address is 10.1.2.3, enter the following:
ssh steve@10.1.2.3
3. Enter your password, then press Return.
To find the SSH command to use to log in to your Mac from another computer, choose Apple menu  > System Preferences, click Sharing , then select Remote Login. The SSH command is shown below the “Remote Login: On” indicator.

Allow a remote computer to access your Mac


Cheers.

Apr 14, 2022 1:51 AM in response to melissa_m77

This is not the solution.


I have the same problem but it has something to do with MacOS, the implementation of SSH on MacOS.


I have a SMB running Ubuntu 20.04 LTS and logging in using the terminal on a Linux laptop or another Linux machine, it works just fine as it should. When I try to log in using my M1 Pro MacBook Pro or with my M1 Mac mini on the same network in the terminal I get asked the password (which I then provide) and then, after some time I get the message "Broken pipe".


This used to be no issue and whatever happened, I could always use the terminal. This issue now hampers my workflow.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't sign into remote host with correct SSH password

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.