ssh failed login "permission denied" on OS 11.4

Hi All,

I used able to remote login to my mac, but it suddenly failed with "permission denied". I tested on local mac, also shown the same error

I any one see this issue? and how to solve it.


Thanks

Sura

MacBook Pro

Posted on Jun 12, 2021 10:52 PM

Reply

Similar questions

2 replies

Jun 14, 2021 7:07 PM in response to ssricham

Not to be insulting, but double check that "Remote Login" is checked on the Mac you want to connect to.


Also verify the username you are using to connect to the other Mac has permission to login over ssh.


You never know if somehow one of these items has changed somehow. It is also possible the preference file is corrupt so you can try to delete the Sharing .plist file and recreate it from scratch or restore it from a backup made before this issue began.


Are you using any anti-virus apps, cleaning apps, or third party security software that may be interfering?


Did you manually modify the ssh configuration file on the remote Mac you are attempting to connect to?


Have you tried putting one or both Macs into Safe Mode to see if the issue persists?


Jun 13, 2021 5:22 PM in response to ssricham

Hello ssricham,


Thanks for reaching out to us for support. It's never fun when you can't remotely log in to your computer from another Mac, and we are going to do everything we can to help you. When you have a free moment, can you please tell us when you first encountered this issue and if you have made any changes to the settings on your Mac? Also, can you please tell us all the troubleshooting steps you have taken so far in an attempt to resolve your issue so that we can avoid repeating them? When possible please be specific when describing the steps you’ve taken and the outcome after each step. Lastly, please tell us the version of macOS you are currently running on your Mac, and check out the link below for resources that can potentially help to resolve your issue.


If your Mac can’t connect to another computer


Apple Remote Desktop User Guide


Find out which macOS your Mac is using


Thanks for using the Apple Support Communities.


Cheers!

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.

ssh failed login "permission denied" on OS 11.4

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