skypi
Posts: 111
Joined: Sat Aug 09, 2014 11:48 pm

2012 ssh problem reintroduced in jessie lite 20170302

Fri Apr 07, 2017 12:16 pm

2012 ssh problem reintroduced in jessie lite 20170302
fortunately solution was in an old post..

wasted an hour or so on this
quite annoying! what would MacArthur say eh!
Can we have some better quality control on software please!

sudo rm -f /etc/ssh/ssh_host*
sudo dpkg-reconfigure openssh-server

viewtopic.php?f=91&t=16841

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: 2012 ssh problem reintroduced in jessie lite 20170302

Fri Apr 07, 2017 1:52 pm

skypi wrote:2012 ssh problem reintroduced in jessie lite 20170302
fortunately solution was in an old post..

wasted an hour or so on this
quite annoying! what would MacArthur say eh!
Can we have some better quality control on software please!

sudo rm -f /etc/ssh/ssh_host*
sudo dpkg-reconfigure openssh-server

viewtopic.php?f=91&t=16841
No idea what you're talking about. It has worked fine for me. You did enable the ssh server?
There are 10 types of people: those who understand binary and those who don't.

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

Re: 2012 ssh problem reintroduced in jessie lite 20170302

Fri Apr 07, 2017 2:08 pm

skypi wrote:2012 ssh problem reintroduced in jessie lite 20170302
fortunately solution was in an old post..

wasted an hour or so on this
quite annoying! what would MacArthur say eh!
Can we have some better quality control on software please!

sudo rm -f /etc/ssh/ssh_host*
sudo dpkg-reconfigure openssh-server

viewtopic.php?f=91&t=16841
Checked, nothing wrong with the SSH stuff - I use it every day.

What was your exact problem including all symptoms, how you arrived at it, and how did you fix it?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: 2012 ssh problem reintroduced in jessie lite 20170302

Fri Apr 07, 2017 2:11 pm

This could happen if you have yanked the power out of the pi during first boot, while the ssh host keys are being generated.

skypi
Posts: 111
Joined: Sat Aug 09, 2014 11:48 pm

Re: 2012 ssh problem reintroduced in jessie lite 20170302

Fri Apr 07, 2017 2:38 pm

ShiftPlusOne wrote:This could happen if you have yanked the power out of the pi during first boot, while the ssh host keys are being generated.
yes, thanks! that might explain it then!

guess a bit of messing to auto recover on next boot if initial boot script not registered as successful by contents/prescence of some file (perhaps simply dont delete/create whatever triggers the first boot script until it is completely successful perhaps? so it will run on subsequent reboots until it has run correctly...)

anyway this forum is a great resource!

I should have added a ? at the end of the title of the post LOL

is it true that the zero had slowed down to 700mhz, was that in the 20170302 edition, it now also auto resizes partition on reboot, and I guess an unplug during that could be nasty, myself I would rather do that partition resize manually so I know it may take a while, and would allow a dd to be taken of the sd after some customisation without having a huge partition on a 16gb sd card.

now first boot job is slow and as I was setting it up headless (then had to waste time setting up connected to a terminal) I was expecting ssh to become available much sooner having already got a pi zero before this one and observed how fast 1ghz boot was....

Return to “Troubleshooting”