M
M
MelkorRUS2015-11-15 16:52:54
linux
MelkorRUS, 2015-11-15 16:52:54

How to install SSH key from Linux to Mac OSX?

Cheerful day!
There was an old SSH key on the poppy (was removed due to disuse). I decided to take my working key from the old Linux system.
Drag and drop 2 files (id_rsa & id_rsa.pub) from linux machine to my mac in ~/.ssh folder.
Further, following the instructions https://confluence.atlassian.com/bitbucket/set-up-... (for poppy, step 3), I registered this key, entered the password and ... no-fi-ha.
I also tried to enable Remote Login to start the SSH Server according to this manual osxdaily.com/2011/09/30/remote-login-ssh-server-ma... , but it did not help. Colleagues have it generally turned off and everything runs fine.
Question 2:

  1. What am I doing wrong?
  2. How can I add 1 more key later, which I will also transfer from Linux?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikon_NLG, 2015-11-16
@MelkorRUS

First, don't forget to chmod 600 on id_rsa and id_rsa.pub (and chmod 700 on ~/.ssh)
Second, ssh -vvv [email protected] will tell you in the console what keys ssh is trying to use and why it isn't.

R
rutaka nashimo, 2015-11-16
@rutaka_n

Are there ssh-agent logs? maybe your daemon didn't start? Or the key still hasn't been added?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question