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
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.
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".
apt command/package manager is for Debian-based Linux systems.