Unable to ssh to raspberry pi with ubuntu from chrome book
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have an Acer Chromebook 14 CB3-431 running ubuntu 16.04 through the crouton method.
I have a raspberry pi that I can ssh from literally any other Ubuntu computer, and even the Crosh shell from the Chrome OS terminal.
I use ssh pi@hostname.local
which is how I've used ssh to a pi forever while connected to pi wifi
but using the Ubuntu terminal I get the error ssh: Could not resolve hostname.local: Temporary failure in name resolution
I am very limited in my ubuntu knowledge but have done some digging and just tried to use sudo service ssh status
and it returned nothing at all.
Also using ssh@localhost
just returns a port error.
some random info that may help, I use startunity
in Crosh to start Ubuntu and it says (xenial)
in my terminal which is different than standard Ubuntu I believe. I may just reinstall Ubuntu and start over but I'd like to try to resolve the problem as it may just come up again.
Any help is appreciated. Thanks in advance.
networking ssh chromebook openssh crouton
New contributor
add a comment |
I have an Acer Chromebook 14 CB3-431 running ubuntu 16.04 through the crouton method.
I have a raspberry pi that I can ssh from literally any other Ubuntu computer, and even the Crosh shell from the Chrome OS terminal.
I use ssh pi@hostname.local
which is how I've used ssh to a pi forever while connected to pi wifi
but using the Ubuntu terminal I get the error ssh: Could not resolve hostname.local: Temporary failure in name resolution
I am very limited in my ubuntu knowledge but have done some digging and just tried to use sudo service ssh status
and it returned nothing at all.
Also using ssh@localhost
just returns a port error.
some random info that may help, I use startunity
in Crosh to start Ubuntu and it says (xenial)
in my terminal which is different than standard Ubuntu I believe. I may just reinstall Ubuntu and start over but I'd like to try to resolve the problem as it may just come up again.
Any help is appreciated. Thanks in advance.
networking ssh chromebook openssh crouton
New contributor
add a comment |
I have an Acer Chromebook 14 CB3-431 running ubuntu 16.04 through the crouton method.
I have a raspberry pi that I can ssh from literally any other Ubuntu computer, and even the Crosh shell from the Chrome OS terminal.
I use ssh pi@hostname.local
which is how I've used ssh to a pi forever while connected to pi wifi
but using the Ubuntu terminal I get the error ssh: Could not resolve hostname.local: Temporary failure in name resolution
I am very limited in my ubuntu knowledge but have done some digging and just tried to use sudo service ssh status
and it returned nothing at all.
Also using ssh@localhost
just returns a port error.
some random info that may help, I use startunity
in Crosh to start Ubuntu and it says (xenial)
in my terminal which is different than standard Ubuntu I believe. I may just reinstall Ubuntu and start over but I'd like to try to resolve the problem as it may just come up again.
Any help is appreciated. Thanks in advance.
networking ssh chromebook openssh crouton
New contributor
I have an Acer Chromebook 14 CB3-431 running ubuntu 16.04 through the crouton method.
I have a raspberry pi that I can ssh from literally any other Ubuntu computer, and even the Crosh shell from the Chrome OS terminal.
I use ssh pi@hostname.local
which is how I've used ssh to a pi forever while connected to pi wifi
but using the Ubuntu terminal I get the error ssh: Could not resolve hostname.local: Temporary failure in name resolution
I am very limited in my ubuntu knowledge but have done some digging and just tried to use sudo service ssh status
and it returned nothing at all.
Also using ssh@localhost
just returns a port error.
some random info that may help, I use startunity
in Crosh to start Ubuntu and it says (xenial)
in my terminal which is different than standard Ubuntu I believe. I may just reinstall Ubuntu and start over but I'd like to try to resolve the problem as it may just come up again.
Any help is appreciated. Thanks in advance.
networking ssh chromebook openssh crouton
networking ssh chromebook openssh crouton
New contributor
New contributor
edited 12 hours ago
james baccy
New contributor
asked 14 hours ago
james baccyjames baccy
12
12
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You are trying to connect to localhost on another PC doing like this and not to the raspberry.
If I'm using a PC which has let's say IP 192.168.1.10, using localhost will actually point at your local address.
Now what you're trying to do is access a device outside your local address and for doing that you need to use the target device IP.
ssh pi@ip-of-raspberry
E.g. (assuming your raspberry has ip 192.168.1.30)
ssh pi@192.168.1.30
Both devices should be on the same LAN or under the same VPN (If you're using it)
Also Ubuntu 16.04 uses systemctl, if you want to know the status of ssh:
systemctl status ssh
using the last command givesFailed to get properties: Launch helper exited with unknown return code 1
I am connected to the pi wifi directly also and have never had to use the ip address only the hostname it has(preloaded via SD)
– james baccy
12 hours ago
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
});
}
});
james baccy is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1131473%2funable-to-ssh-to-raspberry-pi-with-ubuntu-from-chrome-book%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
You are trying to connect to localhost on another PC doing like this and not to the raspberry.
If I'm using a PC which has let's say IP 192.168.1.10, using localhost will actually point at your local address.
Now what you're trying to do is access a device outside your local address and for doing that you need to use the target device IP.
ssh pi@ip-of-raspberry
E.g. (assuming your raspberry has ip 192.168.1.30)
ssh pi@192.168.1.30
Both devices should be on the same LAN or under the same VPN (If you're using it)
Also Ubuntu 16.04 uses systemctl, if you want to know the status of ssh:
systemctl status ssh
using the last command givesFailed to get properties: Launch helper exited with unknown return code 1
I am connected to the pi wifi directly also and have never had to use the ip address only the hostname it has(preloaded via SD)
– james baccy
12 hours ago
add a comment |
You are trying to connect to localhost on another PC doing like this and not to the raspberry.
If I'm using a PC which has let's say IP 192.168.1.10, using localhost will actually point at your local address.
Now what you're trying to do is access a device outside your local address and for doing that you need to use the target device IP.
ssh pi@ip-of-raspberry
E.g. (assuming your raspberry has ip 192.168.1.30)
ssh pi@192.168.1.30
Both devices should be on the same LAN or under the same VPN (If you're using it)
Also Ubuntu 16.04 uses systemctl, if you want to know the status of ssh:
systemctl status ssh
using the last command givesFailed to get properties: Launch helper exited with unknown return code 1
I am connected to the pi wifi directly also and have never had to use the ip address only the hostname it has(preloaded via SD)
– james baccy
12 hours ago
add a comment |
You are trying to connect to localhost on another PC doing like this and not to the raspberry.
If I'm using a PC which has let's say IP 192.168.1.10, using localhost will actually point at your local address.
Now what you're trying to do is access a device outside your local address and for doing that you need to use the target device IP.
ssh pi@ip-of-raspberry
E.g. (assuming your raspberry has ip 192.168.1.30)
ssh pi@192.168.1.30
Both devices should be on the same LAN or under the same VPN (If you're using it)
Also Ubuntu 16.04 uses systemctl, if you want to know the status of ssh:
systemctl status ssh
You are trying to connect to localhost on another PC doing like this and not to the raspberry.
If I'm using a PC which has let's say IP 192.168.1.10, using localhost will actually point at your local address.
Now what you're trying to do is access a device outside your local address and for doing that you need to use the target device IP.
ssh pi@ip-of-raspberry
E.g. (assuming your raspberry has ip 192.168.1.30)
ssh pi@192.168.1.30
Both devices should be on the same LAN or under the same VPN (If you're using it)
Also Ubuntu 16.04 uses systemctl, if you want to know the status of ssh:
systemctl status ssh
edited 13 hours ago
answered 13 hours ago
Cristian VrinceanuCristian Vrinceanu
1005
1005
using the last command givesFailed to get properties: Launch helper exited with unknown return code 1
I am connected to the pi wifi directly also and have never had to use the ip address only the hostname it has(preloaded via SD)
– james baccy
12 hours ago
add a comment |
using the last command givesFailed to get properties: Launch helper exited with unknown return code 1
I am connected to the pi wifi directly also and have never had to use the ip address only the hostname it has(preloaded via SD)
– james baccy
12 hours ago
using the last command gives
Failed to get properties: Launch helper exited with unknown return code 1
I am connected to the pi wifi directly also and have never had to use the ip address only the hostname it has(preloaded via SD)– james baccy
12 hours ago
using the last command gives
Failed to get properties: Launch helper exited with unknown return code 1
I am connected to the pi wifi directly also and have never had to use the ip address only the hostname it has(preloaded via SD)– james baccy
12 hours ago
add a comment |
james baccy is a new contributor. Be nice, and check out our Code of Conduct.
james baccy is a new contributor. Be nice, and check out our Code of Conduct.
james baccy is a new contributor. Be nice, and check out our Code of Conduct.
james baccy is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1131473%2funable-to-ssh-to-raspberry-pi-with-ubuntu-from-chrome-book%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