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

How to init host behind NAT #13

Open
abitrolly opened this issue Feb 12, 2019 · 0 comments
Open

How to init host behind NAT #13

abitrolly opened this issue Feb 12, 2019 · 0 comments
Labels

Comments

@abitrolly
Copy link
Member

Edit your GitLab name below and run on the target server.

GITLAB_NAME=abitrolly
curl -w "" https://gitlab.com/$GITLAB_NAME.keys >> ~/.ssh/authorized_keys
ssh -R $GITLAB_NAME:22:localhost:22 serveo.net

Then connect from your machine.

GITLAB_NAME=abitrolly
ssh -J serveo.net root@$GITLAB_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant