N
N
NikSIk312021-01-17 03:25:57
SSH
NikSIk31, 2021-01-17 03:25:57

Using VPS SSH with GitHub?

Please tell me:

I made the keys under the root in my homework. I added them via
eval $(ssh-agent -s)
ssh-add test_vps_net
for wiretapping, then added a public key (root) to github, and now:
1) I use ssh -T [email protected] from root - it works
2) I use from another user the same, only with sudo - DOES NOT WORK (permission denied public key)

in theory, if you use it with sudo, then it should be taken from the root's home folder, and there is just this key ..

Ubuntu 20.04

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-01-17
@vabka

in theory, if you use it with sudo, then it should be taken from the home folder of the root, and there is just this key ..

No.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question