Sshing into a server
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
|
show 8 more comments
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
'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
|
show 8 more comments
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
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
networking server 18.04 ssh
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
|
show 8 more comments
'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
|
show 8 more comments
1 Answer
1
active
oldest
votes
There're two things to consider:
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...
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.
add a comment |
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
});
}
});
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%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
There're two things to consider:
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...
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.
add a comment |
There're two things to consider:
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...
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.
add a comment |
There're two things to consider:
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...
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.
There're two things to consider:
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...
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.
answered Dec 12 '18 at 21:19
Thomas Ward♦Thomas Ward
43.8k23121174
43.8k23121174
add a comment |
add a comment |
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.
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%2faskubuntu.com%2fquestions%2f1100447%2fsshing-into-a-server%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
'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