View Single Post
Posts: 697 | Thanked: 137 times | Joined on Jul 2012 @ Hillerød, DK
#998
Originally Posted by juiceme View Post
@coderus, AFAIK @garp was trying to ssh into ubiboot console, not to Nemo/Sailfish (where the password is "nemo" in some versions...)

There's no password set for root in ubiboot, instead to use ssh/sftp to access ubiboot maintanance console, you need to use keypairs. (this is a security feature really)

To use ssh/sftp to access ubiboot maintanance console, you first have to make private&public keypair with ssh-keygen, then insert your public key into the G_SSH_AUTHORIZED_KEYS key in your ubiboot.conf.
Then, when logging into the device you need to use the private key, just like documented in your ubiboot.conf:
"ssh -i my_n9_identity root@192.168.2.15"


@garp, I do not quite follow up your logic here
Sure you need to create the keypair first, before engaging nautilus login...?
Problems started when updated Ubuntu 12.04 to 13.10 before no problem with Ubiboot, have changed "host key and identity keypair" in Ubiboot.conf and no problems!
Tried to change "host key and identity keypair" in 13.10 but no success back to 12.04 and now again 13.10 result right now:

root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15
Warning: Identity file my_n9_identity not accessible: No such file or directory.
The authenticity of host '192.168.2.15 (192.168.2.15)' can't be established.
RSA key fingerprint is 81:12:12:b2:cd:a2:e1:b0:b1:ee:64:ea:b5:64:46:9d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.2.15' (RSA) to the list of known hosts.
************************************************** ******
* Welcome to RM-696 ubiboot-02 maintanance console *
************************************************** ******

root@192.168.2.15's password:
Permission denied, please try again.
root@192.168.2.15's password:
Permission denied, please try again.
root@192.168.2.15's password:
Connection closed by 192.168.2.15
root@garp-Lenovo-B590:/home/garp#

Edit: After changing Ubiboot.conf "host key and identity keypair" again in 13.10, result:
root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15
************************************************** ******
* Welcome to RM-696 ubiboot-02 maintanance console *
************************************************** ******

root@192.168.2.15's password:
Permission denied, please try again.
root@192.168.2.15's password:
Permission denied, please try again.
root@192.168.2.15's password:
Permission denied (publickey,password,keyboard-interactive).
root@garp-Lenovo-B590:/home/garp#


Further by Alt-F2, command gksu nautilus you get root access in folder/files to all partitions: rootfs, home, Sailfish, Nemo
__________________
OK

Last edited by Garp; 2013-12-24 at 11:16.