On my Mac terminal when I put sudo apt-get install ssh, its answer password. I dont have it. How can I find it please

enter image description here

closed as unclear what you're asking by Rui F Ribeiro, Stephen Rauch, Archemar, Anthon, dr01 Jul 6 '17 at 7:10

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    apt is for deb-based Linux distros (Debian, Ubuntu and their direvatives). On Mac OS X use homebrew. sudo asked your for password. read man sudo – user996142 Jul 5 '17 at 21:41

Putting aside for the moment the fact that you're using apt on a Mac, when you run sudo it asks for your password. Which you should have if you're already logged into the computer itself.


Please try to understand your tools and what you are doing.

Activating SSH in a Mac is done selecting "System preferences"->Sharing and ticking the box "Remote Login".

The apt command/package manager is for Debian-based Linux systems.

Not the answer you're looking for? Browse other questions tagged or ask your own question.