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;








-1















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?










share|improve this question






















  • Jupyter notebook is a development platform which is often used for python programming of machine learning models.

    – BSalita
    Mar 25 at 21:54

















-1















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?










share|improve this question






















  • Jupyter notebook is a development platform which is often used for python programming of machine learning models.

    – BSalita
    Mar 25 at 21:54













-1












-1








-1








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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

















  • 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












1 Answer
1






active

oldest

votes


















0














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





share|improve this answer

























    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
    );



    );













    draft saved

    draft discarded


















    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









    0














    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





    share|improve this answer





























      0














      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





      share|improve this answer



























        0












        0








        0







        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





        share|improve this answer















        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






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 24 at 12:22

























        answered Mar 24 at 11:15









        BSalitaBSalita

        4,26133951




        4,26133951





























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript