Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Allow setting password for pirate user. #22

Open
MrJoy opened this issue Jun 11, 2016 · 5 comments
Open

Allow setting password for pirate user. #22

MrJoy opened this issue Jun 11, 2016 · 5 comments

Comments

@MrJoy
Copy link

MrJoy commented Jun 11, 2016

Perhaps by giving a pre-hashed value, so one doesn't need to worry about restricting read access to device-init.yml itself.

@Govinda-Fichtner
Copy link
Collaborator

@MrJoy What do you think about adding a feature that allows to add your ssh public key to device-init.yml. Thus you could access your Pi with strong security while we wouldn't have to worry about restricting access to device-init.yaml...

@MrJoy
Copy link
Author

MrJoy commented Jun 13, 2016

By itself that is merely a very useful idea. My objective is less "set
password" and more "scramble it so there isn't a default password".
Alternatively being able to set some sshd options from device-init.yaml --
such as being able to disallow password-based authentication -- would do
the trick as well.

Jon Frisby
Sent with Airmail

On June 12, 2016 at 9:23:59 PM, Govinda Fichtner ([email protected])
wrote:

@MrJoy https://github.com/MrJoy What do you think about adding a
feature that allows to add your ssh public key to device-init.yml. Thus you
could access your Pi with strong security while we wouldn't have to worry
about restricting access to device-init.yaml...


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAG72RoeihznTvu7qE8XadB2ftp3Jiveks5qLNtfgaJpZM4Izn3K
.

@marcellodesales
Copy link

Well, also to avoid the initial setup... @MrJoy or @Govinda-Fichtner , do you guys know what's the default password anyway?

$ ssh [email protected]
The authenticity of host 'pi1.local (192.168.1.65)' can't be established.
ECDSA key fingerprint is SHA256:v7gmJb1H2D/Reh+BaOtM/9eXUa6Ae9K2wSxgr2XifNU.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'pi1.local,192.168.1.65' (ECDSA) to the list of known hosts.
[email protected]'s password:
Permission denied, please try again.

@MathiasRenner
Copy link
Collaborator

@marcellodesales
Copy link

@MathiasRenner Thank you! Yeah I was rushing to get stuff done and did not find the docs... Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants