How to Use ssh and Serveo.Net to Access Jupyter Notebooks on Public Internet?How to use SSH to run a shell script on a remote machine?How do I access my SSH public key?How to SSH to a VirtualBox guest externally through a host?How to download a file from server using SSH?What's the best way to share Jupyter notebooks with non-programmers?Debug port forwarding for using Jupyter notebook remotelyConda environments not showing up in Jupyter NotebookJupyter Notebook in PycharmHow to remote access(from out net) to jupyter notebook running on docker on ubuntu serverStdout output not remotely accessible when connecting to a Jupyter notebook over ssh
What are the problems in teaching guitar via Skype?
What is the most important characteristic of New Weird as a genre?
The most awesome army: 80 men left and 81 returned. Is it true?
What if you don't bring your credit card or debit for incidentals?
Why were the Night's Watch required to be celibate?
Is having a hidden directory under /etc safe?
Singlequote and backslash
Can a helicopter mask itself from Radar?
Modern approach to radio buttons
Is there an evolutionary advantage to having two heads?
Recording the inputs of a command and producing a list of them later on
How can I grammatically understand "Wir über uns"?
What people are called "кабан" and why?
Why does my electric oven present the option of 40A and 50A breakers?
If a massive object like Jupiter flew past the Earth how close would it need to come to pull people off of the surface?
Applicants clearly not having the skills they advertise
How did the Zip Chip and RocketChip accelerators work for the Apple II?
Why is Colorado so different politically from nearby states?
Strange math syntax in old basic listing
Explain Ant-Man's "not it" scene from Avengers: Endgame
Can you use a concentration spell while using Mantle of Majesty?
Is the world in Game of Thrones spherical or flat?
Looking for an old image of designing a cpu with plan laid out / being edited on a literal floor
Could a guilty Boris Johnson be used to cancel Brexit?
How to Use ssh and Serveo.Net to Access Jupyter Notebooks on Public Internet?
How to use SSH to run a shell script on a remote machine?How do I access my SSH public key?How to SSH to a VirtualBox guest externally through a host?How to download a file from server using SSH?What's the best way to share Jupyter notebooks with non-programmers?Debug port forwarding for using Jupyter notebook remotelyConda environments not showing up in Jupyter NotebookJupyter Notebook in PycharmHow to remote access(from out net) to jupyter notebook running on docker on ubuntu serverStdout output not remotely accessible when connecting to a Jupyter notebook over ssh
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I want to access my jupyter notebooks running on my server from anywhere. I don't want to open ports on my router or firewall. Can I use ssh to do it? Can I use a custom domain?
ssh jupyter portforwarding ngrok custom-domain
add a comment |
I want to access my jupyter notebooks running on my server from anywhere. I don't want to open ports on my router or firewall. Can I use ssh to do it? Can I use a custom domain?
ssh jupyter portforwarding ngrok custom-domain
Jupyter notebook is a development platform which is often used for python programming of machine learning models.
– BSalita
Mar 25 at 21:54
add a comment |
I want to access my jupyter notebooks running on my server from anywhere. I don't want to open ports on my router or firewall. Can I use ssh to do it? Can I use a custom domain?
ssh jupyter portforwarding ngrok custom-domain
I want to access my jupyter notebooks running on my server from anywhere. I don't want to open ports on my router or firewall. Can I use ssh to do it? Can I use a custom domain?
ssh jupyter portforwarding ngrok custom-domain
ssh jupyter portforwarding ngrok custom-domain
asked Mar 24 at 11:15
BSalitaBSalita
4,26133951
4,26133951
Jupyter notebook is a development platform which is often used for python programming of machine learning models.
– BSalita
Mar 25 at 21:54
add a comment |
Jupyter notebook is a development platform which is often used for python programming of machine learning models.
– BSalita
Mar 25 at 21:54
Jupyter notebook is a development platform which is often used for python programming of machine learning models.
– BSalita
Mar 25 at 21:54
Jupyter notebook is a development platform which is often used for python programming of machine learning models.
– BSalita
Mar 25 at 21:54
add a comment |
1 Answer
1
active
oldest
votes
The following command will expose your service (port 8888) to the public internet (port 80/443). Caution, security is only as good as the security of Jupyter’s login screen. You can use your own domain (e.g. https://n.u.example.com). If ssh crashes, the command will attempt to restart once per second. See serveo.net for more information.
date && until ssh -o ServerAliveInterval=60 -R n.u.example.com:443:localhost:8888 serveo.net -i ~/OneDrive/Documents/u.example.com; do date && sleep 1 && echo "Restarting..."; done
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
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%2fstackoverflow.com%2fquestions%2f55323223%2fhow-to-use-ssh-and-serveo-net-to-access-jupyter-notebooks-on-public-internet%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
The following command will expose your service (port 8888) to the public internet (port 80/443). Caution, security is only as good as the security of Jupyter’s login screen. You can use your own domain (e.g. https://n.u.example.com). If ssh crashes, the command will attempt to restart once per second. See serveo.net for more information.
date && until ssh -o ServerAliveInterval=60 -R n.u.example.com:443:localhost:8888 serveo.net -i ~/OneDrive/Documents/u.example.com; do date && sleep 1 && echo "Restarting..."; done
add a comment |
The following command will expose your service (port 8888) to the public internet (port 80/443). Caution, security is only as good as the security of Jupyter’s login screen. You can use your own domain (e.g. https://n.u.example.com). If ssh crashes, the command will attempt to restart once per second. See serveo.net for more information.
date && until ssh -o ServerAliveInterval=60 -R n.u.example.com:443:localhost:8888 serveo.net -i ~/OneDrive/Documents/u.example.com; do date && sleep 1 && echo "Restarting..."; done
add a comment |
The following command will expose your service (port 8888) to the public internet (port 80/443). Caution, security is only as good as the security of Jupyter’s login screen. You can use your own domain (e.g. https://n.u.example.com). If ssh crashes, the command will attempt to restart once per second. See serveo.net for more information.
date && until ssh -o ServerAliveInterval=60 -R n.u.example.com:443:localhost:8888 serveo.net -i ~/OneDrive/Documents/u.example.com; do date && sleep 1 && echo "Restarting..."; done
The following command will expose your service (port 8888) to the public internet (port 80/443). Caution, security is only as good as the security of Jupyter’s login screen. You can use your own domain (e.g. https://n.u.example.com). If ssh crashes, the command will attempt to restart once per second. See serveo.net for more information.
date && until ssh -o ServerAliveInterval=60 -R n.u.example.com:443:localhost:8888 serveo.net -i ~/OneDrive/Documents/u.example.com; do date && sleep 1 && echo "Restarting..."; done
edited Mar 24 at 12:22
answered Mar 24 at 11:15
BSalitaBSalita
4,26133951
4,26133951
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f55323223%2fhow-to-use-ssh-and-serveo-net-to-access-jupyter-notebooks-on-public-internet%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
Jupyter notebook is a development platform which is often used for python programming of machine learning models.
– BSalita
Mar 25 at 21:54