N
N
NiktarioN2019-04-08 20:41:02
git
NiktarioN, 2019-04-08 20:41:02

How to connect a new device with the same SSH key in a GitHub profile?

I work mostly at home on a computer, but sometimes I want to do all this on a laptop. I post my work on GitHub and there I have an already GENERATED SSH key in my account. How can I connect the same account with the same key to my laptop so that I can download files from the repository normally and push smoothly? If there were 2 different people, then I would just give access through the special. settings and there are no problems, but I just need my account to be active on two devices and from these two devices it was possible to
push It only shows how to recreate a key, how to create a new profile, etc.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WapSter, 2019-04-08
@NiktarioN

Just copy the ssh key with which you are authorized. Lies in the .ssh folder

V
Vitsliputsli, 2019-04-08
@Vitsliputsli

Don't be lazy and create a new key pair for the other machine. Or, as already advised, copy the private key, but this is a bad practice.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question