How do I access my ubuntu server from anywhere in the world?
How do I remotely access Ubuntu server 18.04.1
Right now I have Ubuntu server 18.04.1 set up, and I use puTTY to access it from my laptop. I want be able to access it though puTTY or ssh or something from anywhere in the world. Do I have to port forward my router to be able to access it remotely? Should I not be using puTTY to do this?
Thanks!
ubuntu ssh putty
add a comment |
How do I remotely access Ubuntu server 18.04.1
Right now I have Ubuntu server 18.04.1 set up, and I use puTTY to access it from my laptop. I want be able to access it though puTTY or ssh or something from anywhere in the world. Do I have to port forward my router to be able to access it remotely? Should I not be using puTTY to do this?
Thanks!
ubuntu ssh putty
add a comment |
How do I remotely access Ubuntu server 18.04.1
Right now I have Ubuntu server 18.04.1 set up, and I use puTTY to access it from my laptop. I want be able to access it though puTTY or ssh or something from anywhere in the world. Do I have to port forward my router to be able to access it remotely? Should I not be using puTTY to do this?
Thanks!
ubuntu ssh putty
How do I remotely access Ubuntu server 18.04.1
Right now I have Ubuntu server 18.04.1 set up, and I use puTTY to access it from my laptop. I want be able to access it though puTTY or ssh or something from anywhere in the world. Do I have to port forward my router to be able to access it remotely? Should I not be using puTTY to do this?
Thanks!
ubuntu ssh putty
ubuntu ssh putty
asked Jan 10 at 12:36
Christian AzzamChristian Azzam
14
14
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Yes, there have a couple of solution to do this:
port forward on your router
- if you choose this way do not forward the standard ssh port on your router on the port 22 normally have a lot of attempt to access your server by use some vulnerability, if you forward external port 2222 -> 22 this should be avoided (but spend anyway some time for secure your server). Also you have to know your external IP address. If your ip is static you can also choose to create a domain name (for free DNS registration you can search freenom) or if is dynamic IP address use some service for DDNS to have domain name updated whit the IP address of your router.
Use a VPN which allow you to reach your server like you are in local network, this do not require to perform a port forward is more secure but is more complex to be implemented
Thanks so much! I will try this right away!
– Christian Azzam
Jan 10 at 13:20
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392733%2fhow-do-i-access-my-ubuntu-server-from-anywhere-in-the-world%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, there have a couple of solution to do this:
port forward on your router
- if you choose this way do not forward the standard ssh port on your router on the port 22 normally have a lot of attempt to access your server by use some vulnerability, if you forward external port 2222 -> 22 this should be avoided (but spend anyway some time for secure your server). Also you have to know your external IP address. If your ip is static you can also choose to create a domain name (for free DNS registration you can search freenom) or if is dynamic IP address use some service for DDNS to have domain name updated whit the IP address of your router.
Use a VPN which allow you to reach your server like you are in local network, this do not require to perform a port forward is more secure but is more complex to be implemented
Thanks so much! I will try this right away!
– Christian Azzam
Jan 10 at 13:20
add a comment |
Yes, there have a couple of solution to do this:
port forward on your router
- if you choose this way do not forward the standard ssh port on your router on the port 22 normally have a lot of attempt to access your server by use some vulnerability, if you forward external port 2222 -> 22 this should be avoided (but spend anyway some time for secure your server). Also you have to know your external IP address. If your ip is static you can also choose to create a domain name (for free DNS registration you can search freenom) or if is dynamic IP address use some service for DDNS to have domain name updated whit the IP address of your router.
Use a VPN which allow you to reach your server like you are in local network, this do not require to perform a port forward is more secure but is more complex to be implemented
Thanks so much! I will try this right away!
– Christian Azzam
Jan 10 at 13:20
add a comment |
Yes, there have a couple of solution to do this:
port forward on your router
- if you choose this way do not forward the standard ssh port on your router on the port 22 normally have a lot of attempt to access your server by use some vulnerability, if you forward external port 2222 -> 22 this should be avoided (but spend anyway some time for secure your server). Also you have to know your external IP address. If your ip is static you can also choose to create a domain name (for free DNS registration you can search freenom) or if is dynamic IP address use some service for DDNS to have domain name updated whit the IP address of your router.
Use a VPN which allow you to reach your server like you are in local network, this do not require to perform a port forward is more secure but is more complex to be implemented
Yes, there have a couple of solution to do this:
port forward on your router
- if you choose this way do not forward the standard ssh port on your router on the port 22 normally have a lot of attempt to access your server by use some vulnerability, if you forward external port 2222 -> 22 this should be avoided (but spend anyway some time for secure your server). Also you have to know your external IP address. If your ip is static you can also choose to create a domain name (for free DNS registration you can search freenom) or if is dynamic IP address use some service for DDNS to have domain name updated whit the IP address of your router.
Use a VPN which allow you to reach your server like you are in local network, this do not require to perform a port forward is more secure but is more complex to be implemented
answered Jan 10 at 12:58
AtomiX84AtomiX84
4779
4779
Thanks so much! I will try this right away!
– Christian Azzam
Jan 10 at 13:20
add a comment |
Thanks so much! I will try this right away!
– Christian Azzam
Jan 10 at 13:20
Thanks so much! I will try this right away!
– Christian Azzam
Jan 10 at 13:20
Thanks so much! I will try this right away!
– Christian Azzam
Jan 10 at 13:20
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392733%2fhow-do-i-access-my-ubuntu-server-from-anywhere-in-the-world%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown