Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the user@host? #19

Open
darewreck54 opened this issue May 18, 2020 · 1 comment
Open

What is the user@host? #19

darewreck54 opened this issue May 18, 2020 · 1 comment

Comments

@darewreck54
Copy link

This might be a stupid question but

Copy them to keys folder: 
- From host: $ cp ~/.ssh/id_rsa.pub ~/git-server/keys
- From remote: $ scp ~/.ssh/id_rsa.pub user@host:~/git-server/keys
You need restart the container when keys are updated:
$ docker restart <container-id>

What is the user@host here? I'm guessing it relates to the localhost? and the hostname?

Thanks,

@jkarlosb
Copy link
Owner

jkarlosb commented May 18, 2020

Hi darewreck54!

There are no stupid questions! :)

It is the machine where you run Docker. If you are working in localhost it is not necessary this step. It is necessary only if you work with Docker in remote host, in this case 'host' refers to it IP address or domain name.

I hope it can help you!

Best regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants