Can´t generat SSH public key on MAC

Asked by Luis Pastor

MacBook-Pro-de-Luis-2:~ RodMac$ sudo apt_get install openssh-client
sudo: apt_get: command not found
MacBook-Pro-de-Luis-2:~ RodMac$ sudo apt-get install openssh-client
sudo: apt-get: command not found
MacBook-Pro-de-Luis-2:~ RodMac$ sudo apt-get install openssh-client
sudo: apt-get: command not found
MacBook-Pro-de-Luis-2:~ RodMac$

This is all I get when trying to do it

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

Yes, that particular instruction is specific to Debian-based systems such as Ubuntu. We aren't generally macOS experts so can't give you directions for how to install OpenSSH; you'd be best off looking for macOS-specific resources on that. However, from what I can find on the internet, it looks as though macOS already ships with an OpenSSH client by default, so you may just be able to skip this step and proceed to running ssh-keygen.

I'm guessing that you started from https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair. We'd be happy to update that with macOS-specific adjustments if you find them.

Can you help with this problem?

Provide an answer of your own, or ask Luis Pastor for more information if necessary.

To post a message you must log in.