adrennes
Posts: 2
Joined: Thu Apr 12, 2018 9:23 pm

defaul ssh user dont work?

Sun Apr 29, 2018 1:34 pm

I got the problem with Stretch and Stretch Lite. Putty 192.168.0.26 port 22 runs the access but Stretch substitutes SSH with LXTerminal. And then loses pwd. SSH becomes impossible.
After some days of trials, I decided to go back to Jessie available here: downloads.raspberry.org rev 2017-07-05
Then dont update the system.
Jessie and Jessie Lite dont have the above issue.
Hopefully the team will issue some new release of Stretch with a fix.

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: defaul ssh user dont work?

Sun Apr 29, 2018 2:07 pm

adrennes wrote:
Sun Apr 29, 2018 1:34 pm
I got the problem with Stretch and Stretch Lite. Putty 192.168.0.26 port 22 runs the access but Stretch substitutes SSH with LXTerminal. And then loses pwd. SSH becomes impossible.
After some days of trials, I decided to go back to Jessie available here: downloads.raspberry.org rev 2017-07-05
Then dont update the system.[/color]
Jessie and Jessie Lite dont have the above issue.
Hopefully the team will issue some new release of Stretch with a fix.
also
viewtopic.php?f=28&t=196277&p=1301540#p1301540
adrennes wrote:
Thu Apr 12, 2018 9:31 pm
With Raspbian Stretch Lite as well as Raspbian Stretch, I have the same problem: SSH connection disappears.
I tried to ping the Raspberry, with success. This is not an IP address issue.
sudo pi@192.168.0.14 gets connection refused.

I tried this with success:
sudo ssh pi@raspberrypi.local
and then SSH works.

Strange, but works. Do some other users confirm ? Anyone knows why it works ?
_________________________________________________________________________________
from what computer and OS you do ? "sudo ssh pi@192.168.0.14" NOK
from what computer and OS you do ? "sudo ssh pi@raspberrypi.local" OK
from what computer and OS you do ? "Putty 192.168.0.26 port 22 " NOK
looks like you not know the IP of your RPI,
you could try mobile app FING to scan your network and look for a device "raspberrypi" vendor "Raspberry Pi"

as you can use SSH sometimes, it could not be the question if you enabled SSH in the first place ( so you should have mentioned that )


and many of us run RPI's with STRETCH ( desktop or lite ) headless / using SSH and VNC

fruitoftheloom
Posts: 21396
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: defaul ssh user dont work?

Sun Apr 29, 2018 3:29 pm

adrennes wrote:
Sun Apr 29, 2018 1:34 pm
I got the problem with Stretch and Stretch Lite. Putty 192.168.0.26 port 22 runs the access but Stretch substitutes SSH with LXTerminal. And then loses pwd. SSH becomes impossible.
After some days of trials, I decided to go back to Jessie available here: downloads.raspberry.org rev 2017-07-05
Then dont update the system.[/color]
Jessie and Jessie Lite dont have the above issue.
Hopefully the team will issue some new release of Stretch with a fix.

What has this go to do with a Post from 5.5 years ago, the OP has a completely different RPi and Operating System :evil:
Retired disgracefully.....
......to a more gentile life !

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 12546
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: defaul ssh user dont work?

Sun Apr 29, 2018 3:59 pm

fruitoftheloom wrote:
Sun Apr 29, 2018 3:29 pm

What has this go to do with a Post from 5.5 years ago, the OP has a completely different RPi and Operating System :evil:
nothing, so I split off the new post, and its replies.

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

Re: defaul ssh user dont work?

Sun Apr 29, 2018 10:50 pm

adrennes wrote:
Sun Apr 29, 2018 1:34 pm
I got the problem with Stretch and Stretch Lite. Putty 192.168.0.26 port 22 runs the access but Stretch substitutes SSH with LXTerminal. And then loses pwd. SSH becomes impossible.
After some days of trials, I decided to go back to Jessie available here: downloads.raspberry.org rev 2017-07-05
Then dont update the system.
Jessie and Jessie Lite dont have the above issue.
Hopefully the team will issue some new release of Stretch with a fix.
SSH works as expected in Stretch. I'm not sure what your problem is, but it's not the OS. I have no trouble at all connecting to my headless Pi computers, all of which are running up-to-date versions of Raspbian Stretch. But just to be sure it's not something recent I flashed an SD card with the latest Raspbian Stretch Lite 2018-04-18 release and popped it into a Pi Zero W (with "ssh.txt" and configured "wpa_supplicant.conf" files).

The following shows the terminal output of SSH into my main Pi3B+ from my Windows 10 PC (using WSL), then SSH into the freshly imaged Pi0W from the Pi3B+ (both running 2018-04-18 Stretch). The Pi3B+ is running a fully updated Stretch Desktop OS, while the Pi0W was on a freshly imaged Stretch Lite SD card.

Code: Select all

hawaiianpi@Win10PC:~$ ssh hawaiianpi@192.168.1.234
hawaiianpi@192.168.1.234's password:
Linux Pi3BPlus180418 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
hawaiianpi@Pi3BPlus180418:~ $ ssh pi@192.168.1.111
The authenticity of host '192.168.1.111 (192.168.1.111)' can't be established.
ECDSA key fingerprint is SHA256:UviRjST/Ahkk6KbCxQFipzSMJxCSjDlBqBaU0+jObWg.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.111' (ECDSA) to the list of known hosts.
pi@192.168.1.111's password:
Linux raspberrypi 4.14.34+ #1110 Mon Apr 16 14:51:42 BST 2018 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.

pi@raspberrypi:~ $ sudo shutdown now
Connection to 192.168.1.111 closed by remote host.
Connection to 192.168.1.111 closed.
hawaiianpi@Pi3BPlus180418:~ $
As I said, no problem whatsoever.

If you are still running the previous 2018-03-13 release you should upgrade it to the latest 2018-04-18 version, because there was a race condition between 2 startup scripts that caused wireless issues for some people that is now fixed. If you can access the Pi directly you can upgrade it with,

Code: Select all

sudo apt update && sudo apt full-upgrade -y
Otherwise you can just flash your SD card with the new image.
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?

Return to “Beginners”