Bananian Linux

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000075Bananian Linux[All Projects] Securitypublic2014-12-12 01:422015-01-06 09:28
Reporterguest 
Assigned ToNico 
PriorityurgentSeveritymajorReproducibilityalways
StatusresolvedResolutionunable to reproduce 
Product Version14.11.02 
Target VersionFixed in Version 
Summary0000075: SSH key generation creates empty keys
DescriptionIn headless setup/startup of current image emtpy SSH host keys are generated. 
This in effect prevents ssh to the headless device. SD card must be mounted in
PC and zero size keys deleted.
Steps To Reproducedownload current SD image and start in BananaPi + attempt SSH
TagsNo tags attached.
Attached Files

- Relationships
related to 0000085resolvedNico Increase ServerKeyBits 

-  Notes
(0000107)
Nico (manager)
2014-12-13 08:57

Is anyone able to reproduce this issue?
(0000109)
hvdwolf (reporter)
2014-12-16 18:37

I have been playing with the image for the past 1½ week and installed it 3 times and always headless.
Always the keys were generated correctly and also when I generate (user) keys to be able to connect to other systems or create a pub key to connect to the bananapi.

The only think that strikes me is that the ServerKeyBits are still set to the old default of
ServerKeyBits 768  (/etc/sshd_config).
For ssh hardening it would be better to set it to 1024 (or perhaps even to 2048) and regenerate
the serverkeys.
For most "home installations" this is not a problem, but mine is exposed to the outside world (but
maybe I'm overconcerned)
(0000124)
Nico (manager)
2015-01-02 14:14

I can't reproduce the problem. Maybe you interrupted power supply while initial key generation?

Thanks for the remark hvdwolf. I will create a separate ticket for this.

- Issue History
Date Modified Username Field Change
2014-12-12 01:42 guest New Issue
2014-12-13 08:57 Nico Note Added: 0000107
2014-12-13 08:57 Nico Assigned To => Nico
2014-12-13 08:57 Nico Status new => assigned
2014-12-16 18:37 hvdwolf Note Added: 0000109
2015-01-02 14:14 Nico Note Added: 0000124
2015-01-02 14:14 Nico Status assigned => resolved
2015-01-02 14:14 Nico Resolution open => unable to reproduce
2015-01-06 09:28 Nico Relationship added related to 0000085


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker