User avatar
Vladam57
Posts: 11
Joined: Thu Oct 18, 2018 8:43 am
Location: Luxembourg
Contact: Twitter

ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 9:01 am

Dear all,
I have installed the version "DEBIAN STRETCH WITH RASPBERRY PI DESKTOP" of June 2018 in my Raspberry pi 3 B+ .
After déployment in my SDCard, I have added a new empty file "ssh" without extention on it.
When I start my Raspberrypi, all working and I see the desktop but I cannot connect on it by SSL with my another computer (connection refused).
I have analysed in the configuration and the SSH is already installed.
the rest of the configuration is by default. I have autorized the port 22 in the iptables too but always not working.
A idea ? :?:
There is a firewall by défault ?
(I'm a beginner in Linux :geek: )
Vladam57

User avatar
topguy
Posts: 4930
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 9:31 am

The desktop is not called Pixel anymore but this program referenced below should still be there.
https://www.raspberrypi.org/magpi/raspb ... tion-tool/

User avatar
Vladam57
Posts: 11
Joined: Thu Oct 18, 2018 8:43 am
Location: Luxembourg
Contact: Twitter

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 9:42 am

thanks @topguy, I have already used this tool control and to activate ssh, and I confirm the ssh is active but always not working.
Vladam57

User avatar
Vladam57
Posts: 11
Joined: Thu Oct 18, 2018 8:43 am
Location: Luxembourg
Contact: Twitter

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 9:42 am

topguy wrote:
Thu Oct 18, 2018 9:31 am
The desktop is not called Pixel anymore but this program referenced below should still be there.
https://www.raspberrypi.org/magpi/raspb ... tion-tool/
thanks @topguy, I have already used this tool control and to activate ssh, and I confirm the ssh is active but always not working.
Vladam57

User avatar
Vladam57
Posts: 11
Joined: Thu Oct 18, 2018 8:43 am
Location: Luxembourg
Contact: Twitter

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 9:43 am

I can precise, when I use "netstat", I don't see the port 22 :(
Vladam57

drgeoff
Posts: 8628
Joined: Wed Jan 25, 2012 6:39 pm

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 11:10 am

Vladam57 wrote:
Thu Oct 18, 2018 9:01 am
I have installed the version "DEBIAN STRETCH WITH RASPBERRY PI DESKTOP" of June 2018 in my Raspberry pi 3 B+ .
No you have not.

Raspbian Stretch with desktop runs on RPis.

Debian Stretch with Raspberry Pi desktop runs on computers with x86 processors.

User avatar
Vladam57
Posts: 11
Joined: Thu Oct 18, 2018 8:43 am
Location: Luxembourg
Contact: Twitter

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 11:13 am

drgeoff wrote:
Thu Oct 18, 2018 11:10 am
Vladam57 wrote:
Thu Oct 18, 2018 9:01 am
I have installed the version "DEBIAN STRETCH WITH RASPBERRY PI DESKTOP" of June 2018 in my Raspberry pi 3 B+ .
No you have not.

Raspbian Stretch with Raspberry Pi desktop runs on RPis.

Debian Stretch with Raspberry Pi desktop runs on computers with x86 processors.
Aie ... But if I install the version RASPBIAN STRETCH LITE, I can use my cpu 64 bits ?
Vladam57

drgeoff
Posts: 8628
Joined: Wed Jan 25, 2012 6:39 pm

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 11:20 am

Vladam57 wrote:
Thu Oct 18, 2018 11:13 am
Aie ... But if I install the version RASPBIAN STRETCH LITE, I can use my cpu 64 bits ?
All versions of Raspbian are 32 bit OS irrespective of the capabilities of the ARM CPU(s) in the host RPi.

User avatar
Vladam57
Posts: 11
Joined: Thu Oct 18, 2018 8:43 am
Location: Luxembourg
Contact: Twitter

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 12:34 pm

I have init my raspberry pi 3 B+ with raspbian lite but I have a same problem
Vladam57

User avatar
Vladam57
Posts: 11
Joined: Thu Oct 18, 2018 8:43 am
Location: Luxembourg
Contact: Twitter

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 12:36 pm

ok, I understand. I will tried to install a os debian 64 bits
Vladam57

User avatar
Vladam57
Posts: 11
Joined: Thu Oct 18, 2018 8:43 am
Location: Luxembourg
Contact: Twitter

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 2:33 pm

But my problem isn't solve ;)
My Raspberrypi is not accessible by ssh
Doesnotworkingssl.PNG
Doesnotworkingssl.PNG (7.88 KiB) Viewed 696 times
Vladam57

B.Goode
Posts: 6543
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 2:34 pm

Vladam57 wrote:
Thu Oct 18, 2018 12:36 pm
ok, I understand. I will tried to install a os debian 64 bits


Remote access via ssh to an RPi system running the Raspbian Operating System has worked for over 6 years, since the initial releases of the hardware and Operating System respectively.

You don't need a 64-bit operating system to accomplish this.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20752
Joined: Sat Jul 30, 2011 7:41 pm

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 2:57 pm

We don't provide a 64bit OS, so the majority of help here will be related to the 32bit raspbian OS.

Raspbian by default does not have SSH enabled. You can enabled it using raspi-config. Once enabled, it should work with no problems. I have never heard of it not working, and I use it all the time and have never had a problem. As soon as enabled in raspi-config, it WILL work.

If it DOESNT work, then there is something bad in your network setup which is preventing other devices accessing the Pi.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

fruitoftheloom
Posts: 17648
Joined: Tue Mar 25, 2014 12:40 pm

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 3:09 pm

Vladam57 wrote:
Thu Oct 18, 2018 12:36 pm
ok, I understand. I will tried to install a os debian 64 bits

There is no version of Debian Stretch ARMHF ARM32 or ARM64 which is supported.

The Raspberry Pi Foundation offer Raspbian Stretch Lite and Raspbian Stretch with Desktop, though by default SSH is not enabled and the reason why was explained in December 2016 and the situation has not changed since then:

https://www.raspberrypi.org/blog/a-secu ... ian-pixel/
Adieu

User avatar
Vladam57
Posts: 11
Joined: Thu Oct 18, 2018 8:43 am
Location: Luxembourg
Contact: Twitter

[RESOLVED] Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 6:50 pm

It works !

I have understand, I not had make a update online on starting because I didn't had a web connection at the moment. It's impossible to activate SSH if the system not updated.
Vladam57

User avatar
HawaiianPi
Posts: 2897
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: [RESOLVED] Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 7:21 pm

Vladam57 wrote:
Thu Oct 18, 2018 6:50 pm
It works !

I have understand, I not had make a update online on starting because I didn't had a web connection at the moment. It's impossible to activate SSH if the system not updated.
Not true. All you need to do is add an empty file named ssh (or ssh.txt) to the small FAT32 "boot" partition. I have pre-configure cards for headless boot with SSH and wireless networking lots of times, so I know it works.

Note that the ssh file goes in the base directory of the boot partition, not in the /boot folder.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
Vladam57
Posts: 11
Joined: Thu Oct 18, 2018 8:43 am
Location: Luxembourg
Contact: Twitter

Re: ssh not working in Raspbian Desktop (june 2018)

Thu Oct 18, 2018 9:03 pm

En tout cas, avec cette procédure et le changement du mot de passe, tout est en route !
1 manager et 4 worker pour un cluster Docker :D

Maintenant un petit RabbitMQ en tête pour gérer les files de travaux et ils vont pouvoir commencer à bosser ;)
ClusterDocker.JPG
ClusterDocker.JPG (167.43 KiB) Viewed 610 times
Vladam57

Return to “Français”