Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't enable SSH #356

Closed
aleprovencio opened this issue Jan 12, 2018 · 6 comments
Closed

Can't enable SSH #356

aleprovencio opened this issue Jan 12, 2018 · 6 comments
Assignees
Labels

Comments

@aleprovencio
Copy link

When trying the method described here even though trying a new non-existent the system always returns with the error message "The user pi is using the default password. Refusing to activate SSH".

Sorry for not pasting the output of sudo ncp-report because I guess that should be done via ssh.

@ovpc
Copy link
Collaborator

ovpc commented Jan 13, 2018

You can run nc-report from ncp-web at https://nextcloudpi.local:4443

A work-around is adding an empty file called /boot/ssh or /boot/ssh.txt : Shut down yr rpi, take SD out of the rpi and use your PC to create ssh.txt in the root of the first partion, where you find config.txt cmdline.txt. That is the partition that will be mounted as /boot . Then when you boot it will have ssh enabled.

@nachoparker
Copy link
Member

you first have to do

user: pi
password: something different

in order to change the default password, that is insecure.

Then, you can log in through user pi with that password, or also you can create new users and passwords without problems

I am planning on simplifying this by disabling the pi user when you use this tool

@ovpc
Copy link
Collaborator

ovpc commented Jan 15, 2018

Extra info
In order to enable SSH, the password for user pi can not remain set to the default
│ raspberry. │
│ You HAVE to create a NEW password for pi if you want this program to enable SSH, it │
│ will fail if you dont! │
│ Note: Use normal AlphaNumeric, the only special characters allowed are .,@-_/
Just using thread to save screenshots for doc/wiki
ncp-config-ssh-select
ncp-config-ssh-extrs-instructions
ncp-config-ssh-config-new-passwd
PULL Modified SSH HERE

@aleprovencio
Copy link
Author

Just to let you know, i tried changing the user pi password but then I got the error message The user ncp is using the default password. So instead of pi I changed passwords for the ncp user and everything now works as expected.

@UkeFan
Copy link

UkeFan commented Dec 1, 2018

For ODroid-Users: The only users name that works is "root"

@ovpc
Copy link
Collaborator

ovpc commented Dec 1, 2018

FAQ preset passwords

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

No branches or pull requests

4 participants