[HELP]root password does not work on fresh install

Ask questions about Arch Linux ARM. Please search before making a new topic.

[HELP]root password does not work on fresh install

Postby chils41 » Sat Apr 20, 2019 9:03 pm

Just came across my old PogoPlug V2 and learned that this device is no good anymore.
So after searching for a bit came across this guide to install Arch Linux on it.
https://archlinuxarm.org/platforms/armv ... 2-pinkgray

The install went smooth, but on the first boot, I simply can not ssh "root" with the password "root".
I can ssh with "alarm" with password "alarm". But since its not root access I can not do much.

Here is the possible issue I think. Please see the log below.

$this->bbcode_second_pass_code('', 'U-Boot has been installed successfully.

-bash-4.3# Connection to 192.168.0.16 closed by remote host.
Connection to 192.168.0.16 closed.
password@DESKTOP-7IIK9N5:~$ ssh root@192.168.0.16
ssh: connect to host 192.168.0.16 port 22: Connection refused
password@DESKTOP-7IIK9N5:~$ ssh root@192.168.0.16
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:A7MoooekDdCTNbEa2ZbZImc29L7N7efB4uNQ7c/YQws.
Please contact your system administrator.
Add correct host key in /home/password/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/password/.ssh/known_hosts:1
remove with:
ssh-keygen -f "/home/password/.ssh/known_hosts" -R "192.168.0.16"
RSA host key for 192.168.0.16 has changed and you have requested strict checking.
Host key verification failed.
password@DESKTOP-7IIK9N5:~$ ssh-keygen -f "/home/password/.ssh/known_hosts" -R "192.168.0.16"
# Host 192.168.0.16 found: line 1
/home/password/.ssh/known_hosts updated.
Original contents retained as /home/password/.ssh/known_hosts.old
password@DESKTOP-7IIK9N5:~$ ssh root@192.168.0.16
The authenticity of host '192.168.0.16 (192.168.0.16)' can't be established.
ECDSA key fingerprint is SHA256:TcGyT1GR0YAOEqoVUgD4lPLm7R9JqQWhCAr6PXYaSzY.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.16' (ECDSA) to the list of known hosts.
root@192.168.0.16's password:
Permission denied, please try again.
root@192.168.0.16's password:
Permission denied, please try again.
root@192.168.0.16's password:
root@192.168.0.16: Permission denied (publickey).')

if I force it to use the password I get this.
$this->bbcode_second_pass_code('', 'password@DESKTOP-7IIK9N5:~$ ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no root@192.168.0.16
root@192.168.0.16's password:
Permission denied, please try again.
root@192.168.0.16's password:
Permission denied, please try again.
root@192.168.0.16's password:
root@192.168.0.16: Permission denied (publickey).
password@DESKTOP-7IIK9N5:~$')

Also, I must mention that I am a Total Linux n00b. :shock:
But I do try to read and understand the code.
Any help will be greatly appreciated.
chils41
 
Posts: 2
Joined: Sat Apr 20, 2019 7:37 pm

[SOLVED]

Postby chils41 » Sat Apr 20, 2019 9:45 pm

after login as alarm just do

$this->bbcode_second_pass_code('', 'su root')

now the "root" password will work.
chils41
 
Posts: 2
Joined: Sat Apr 20, 2019 7:37 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 21 guests