Sshing into a server












0















I have noticed that after upgrading my laptop (not sure if this is the reason) to 18.04 Ubuntu, I have not been able to ssh to an institute server although I'm able to on the same internet network from a desktop computer.



When "ssh -v" is applied the following is the result before timing out:



OpenSSH_7.6p1 Ubuntu-4ubuntu0.1, OpenSSL 1.0.2n 7 Dec 2017 
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to xxx.xxxxx.xxx.edu [128.118.xxx.xxx] port 22.


I have tried deleting the known_hosts file, as it was one of the suggestions on the internet. However, it did not resolve this issue. Any tips that might help fix the problem are welcome. Thanks!










share|improve this question

























  • 'institute server' - is it on the same network? what happens when you try? Can you ping the remote server directly?

    – Thomas Ward
    Dec 12 '18 at 20:35











  • I am able to ping the remote server.

    – Schlator Borgenson
    Dec 12 '18 at 20:38













  • Yes, the institute server is on the same network

    – Schlator Borgenson
    Dec 12 '18 at 20:40











  • The institute had made some recent changes to the firewall and had recommended the use of a VPN. I have installed and used that VPN, the VPN service connects successfully, but when I try Sshing, this error is returned: ssh: Could not resolve hostname xxx.xxxx.xxx.edu: Name or service not known. I am also not able to browse the internet

    – Schlator Borgenson
    Dec 12 '18 at 20:47













  • If you are already on the same network, there should be no need to connect through VPN. VPN is typically used for connections from outside to the destination network. Maybe does "ssh -v" help to debug the issue? Do you use private+public keys for authentication or password?

    – Oliver R.
    Dec 12 '18 at 20:54


















0















I have noticed that after upgrading my laptop (not sure if this is the reason) to 18.04 Ubuntu, I have not been able to ssh to an institute server although I'm able to on the same internet network from a desktop computer.



When "ssh -v" is applied the following is the result before timing out:



OpenSSH_7.6p1 Ubuntu-4ubuntu0.1, OpenSSL 1.0.2n 7 Dec 2017 
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to xxx.xxxxx.xxx.edu [128.118.xxx.xxx] port 22.


I have tried deleting the known_hosts file, as it was one of the suggestions on the internet. However, it did not resolve this issue. Any tips that might help fix the problem are welcome. Thanks!










share|improve this question

























  • 'institute server' - is it on the same network? what happens when you try? Can you ping the remote server directly?

    – Thomas Ward
    Dec 12 '18 at 20:35











  • I am able to ping the remote server.

    – Schlator Borgenson
    Dec 12 '18 at 20:38













  • Yes, the institute server is on the same network

    – Schlator Borgenson
    Dec 12 '18 at 20:40











  • The institute had made some recent changes to the firewall and had recommended the use of a VPN. I have installed and used that VPN, the VPN service connects successfully, but when I try Sshing, this error is returned: ssh: Could not resolve hostname xxx.xxxx.xxx.edu: Name or service not known. I am also not able to browse the internet

    – Schlator Borgenson
    Dec 12 '18 at 20:47













  • If you are already on the same network, there should be no need to connect through VPN. VPN is typically used for connections from outside to the destination network. Maybe does "ssh -v" help to debug the issue? Do you use private+public keys for authentication or password?

    – Oliver R.
    Dec 12 '18 at 20:54
















0












0








0








I have noticed that after upgrading my laptop (not sure if this is the reason) to 18.04 Ubuntu, I have not been able to ssh to an institute server although I'm able to on the same internet network from a desktop computer.



When "ssh -v" is applied the following is the result before timing out:



OpenSSH_7.6p1 Ubuntu-4ubuntu0.1, OpenSSL 1.0.2n 7 Dec 2017 
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to xxx.xxxxx.xxx.edu [128.118.xxx.xxx] port 22.


I have tried deleting the known_hosts file, as it was one of the suggestions on the internet. However, it did not resolve this issue. Any tips that might help fix the problem are welcome. Thanks!










share|improve this question
















I have noticed that after upgrading my laptop (not sure if this is the reason) to 18.04 Ubuntu, I have not been able to ssh to an institute server although I'm able to on the same internet network from a desktop computer.



When "ssh -v" is applied the following is the result before timing out:



OpenSSH_7.6p1 Ubuntu-4ubuntu0.1, OpenSSL 1.0.2n 7 Dec 2017 
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to xxx.xxxxx.xxx.edu [128.118.xxx.xxx] port 22.


I have tried deleting the known_hosts file, as it was one of the suggestions on the internet. However, it did not resolve this issue. Any tips that might help fix the problem are welcome. Thanks!







networking server 18.04 ssh






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 12 '18 at 21:05







Schlator Borgenson

















asked Dec 12 '18 at 20:33









Schlator BorgensonSchlator Borgenson

32




32













  • 'institute server' - is it on the same network? what happens when you try? Can you ping the remote server directly?

    – Thomas Ward
    Dec 12 '18 at 20:35











  • I am able to ping the remote server.

    – Schlator Borgenson
    Dec 12 '18 at 20:38













  • Yes, the institute server is on the same network

    – Schlator Borgenson
    Dec 12 '18 at 20:40











  • The institute had made some recent changes to the firewall and had recommended the use of a VPN. I have installed and used that VPN, the VPN service connects successfully, but when I try Sshing, this error is returned: ssh: Could not resolve hostname xxx.xxxx.xxx.edu: Name or service not known. I am also not able to browse the internet

    – Schlator Borgenson
    Dec 12 '18 at 20:47













  • If you are already on the same network, there should be no need to connect through VPN. VPN is typically used for connections from outside to the destination network. Maybe does "ssh -v" help to debug the issue? Do you use private+public keys for authentication or password?

    – Oliver R.
    Dec 12 '18 at 20:54





















  • 'institute server' - is it on the same network? what happens when you try? Can you ping the remote server directly?

    – Thomas Ward
    Dec 12 '18 at 20:35











  • I am able to ping the remote server.

    – Schlator Borgenson
    Dec 12 '18 at 20:38













  • Yes, the institute server is on the same network

    – Schlator Borgenson
    Dec 12 '18 at 20:40











  • The institute had made some recent changes to the firewall and had recommended the use of a VPN. I have installed and used that VPN, the VPN service connects successfully, but when I try Sshing, this error is returned: ssh: Could not resolve hostname xxx.xxxx.xxx.edu: Name or service not known. I am also not able to browse the internet

    – Schlator Borgenson
    Dec 12 '18 at 20:47













  • If you are already on the same network, there should be no need to connect through VPN. VPN is typically used for connections from outside to the destination network. Maybe does "ssh -v" help to debug the issue? Do you use private+public keys for authentication or password?

    – Oliver R.
    Dec 12 '18 at 20:54



















'institute server' - is it on the same network? what happens when you try? Can you ping the remote server directly?

– Thomas Ward
Dec 12 '18 at 20:35





'institute server' - is it on the same network? what happens when you try? Can you ping the remote server directly?

– Thomas Ward
Dec 12 '18 at 20:35













I am able to ping the remote server.

– Schlator Borgenson
Dec 12 '18 at 20:38







I am able to ping the remote server.

– Schlator Borgenson
Dec 12 '18 at 20:38















Yes, the institute server is on the same network

– Schlator Borgenson
Dec 12 '18 at 20:40





Yes, the institute server is on the same network

– Schlator Borgenson
Dec 12 '18 at 20:40













The institute had made some recent changes to the firewall and had recommended the use of a VPN. I have installed and used that VPN, the VPN service connects successfully, but when I try Sshing, this error is returned: ssh: Could not resolve hostname xxx.xxxx.xxx.edu: Name or service not known. I am also not able to browse the internet

– Schlator Borgenson
Dec 12 '18 at 20:47







The institute had made some recent changes to the firewall and had recommended the use of a VPN. I have installed and used that VPN, the VPN service connects successfully, but when I try Sshing, this error is returned: ssh: Could not resolve hostname xxx.xxxx.xxx.edu: Name or service not known. I am also not able to browse the internet

– Schlator Borgenson
Dec 12 '18 at 20:47















If you are already on the same network, there should be no need to connect through VPN. VPN is typically used for connections from outside to the destination network. Maybe does "ssh -v" help to debug the issue? Do you use private+public keys for authentication or password?

– Oliver R.
Dec 12 '18 at 20:54







If you are already on the same network, there should be no need to connect through VPN. VPN is typically used for connections from outside to the destination network. Maybe does "ssh -v" help to debug the issue? Do you use private+public keys for authentication or password?

– Oliver R.
Dec 12 '18 at 20:54












1 Answer
1






active

oldest

votes


















0














There're two things to consider:





  1. If the server hosts (the Institute) now say you should use a VPN to access the system, then it's quite likely that they are disallowing access from the rest of the same shared network and requiring you to use the VPN to pass traffic to the server first. In this case, you have no choice but to use the VPN.



    However, given that you couldn't resolve the host name, the second part to consider is...




  2. There is no DNS server on the VPN connection that can handle resolving the hostname that you're entering.



    This means the people running the VPN need to set up a DNS server on the VPN and specify it in the VPN connection to resolve the hostname to an IP address.



    In the interim you can use the direct IP address for the server for your connections, and if you're over the VPN that should give you access to the server.








share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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%2faskubuntu.com%2fquestions%2f1100447%2fsshing-into-a-server%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














    There're two things to consider:





    1. If the server hosts (the Institute) now say you should use a VPN to access the system, then it's quite likely that they are disallowing access from the rest of the same shared network and requiring you to use the VPN to pass traffic to the server first. In this case, you have no choice but to use the VPN.



      However, given that you couldn't resolve the host name, the second part to consider is...




    2. There is no DNS server on the VPN connection that can handle resolving the hostname that you're entering.



      This means the people running the VPN need to set up a DNS server on the VPN and specify it in the VPN connection to resolve the hostname to an IP address.



      In the interim you can use the direct IP address for the server for your connections, and if you're over the VPN that should give you access to the server.








    share|improve this answer




























      0














      There're two things to consider:





      1. If the server hosts (the Institute) now say you should use a VPN to access the system, then it's quite likely that they are disallowing access from the rest of the same shared network and requiring you to use the VPN to pass traffic to the server first. In this case, you have no choice but to use the VPN.



        However, given that you couldn't resolve the host name, the second part to consider is...




      2. There is no DNS server on the VPN connection that can handle resolving the hostname that you're entering.



        This means the people running the VPN need to set up a DNS server on the VPN and specify it in the VPN connection to resolve the hostname to an IP address.



        In the interim you can use the direct IP address for the server for your connections, and if you're over the VPN that should give you access to the server.








      share|improve this answer


























        0












        0








        0







        There're two things to consider:





        1. If the server hosts (the Institute) now say you should use a VPN to access the system, then it's quite likely that they are disallowing access from the rest of the same shared network and requiring you to use the VPN to pass traffic to the server first. In this case, you have no choice but to use the VPN.



          However, given that you couldn't resolve the host name, the second part to consider is...




        2. There is no DNS server on the VPN connection that can handle resolving the hostname that you're entering.



          This means the people running the VPN need to set up a DNS server on the VPN and specify it in the VPN connection to resolve the hostname to an IP address.



          In the interim you can use the direct IP address for the server for your connections, and if you're over the VPN that should give you access to the server.








        share|improve this answer













        There're two things to consider:





        1. If the server hosts (the Institute) now say you should use a VPN to access the system, then it's quite likely that they are disallowing access from the rest of the same shared network and requiring you to use the VPN to pass traffic to the server first. In this case, you have no choice but to use the VPN.



          However, given that you couldn't resolve the host name, the second part to consider is...




        2. There is no DNS server on the VPN connection that can handle resolving the hostname that you're entering.



          This means the people running the VPN need to set up a DNS server on the VPN and specify it in the VPN connection to resolve the hostname to an IP address.



          In the interim you can use the direct IP address for the server for your connections, and if you're over the VPN that should give you access to the server.









        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 12 '18 at 21:19









        Thomas WardThomas Ward

        43.8k23121174




        43.8k23121174






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f1100447%2fsshing-into-a-server%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

            How to change which sound is reproduced for terminal bell?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Can I use Tabulator js library in my java Spring + Thymeleaf project?