![]() |
Root and User SSH access via Nautilus on Linux PC
Here is a guide that I created for noobs like me :D Root and User SSH access via NautilusIt's PDF file and you can save it on your phone :p on Linux PC For Windows users, see this thread or download this instruction. On your Jolla phone: Go to Setting -> System settings -> Developer mode and activate it. When it finish, allow Remote connection andset password for user -> press SAVE. DON’T allow developer updates !!! (as far as I know it still cause to the problems). If you not have root pass, do it from your phone terminal app: Quote:
1. Open File Manager. 2. In the /home/your_user_name create 2 folders: MyNemo and MyRoot. 3. Open Terminal and write: For the ROOT access to your phone: Code:
sshfs root@ххх.ххх.хх.хх:/ /home/your_user_name/MyRoot For the USER access to your phone: Code:
sshfs nemo@ххх.ххх.хх.хх:/home/nemo /home/your_user_name/MyNemo ххх.ххх.хх.хх = IP of your phone. 4. Go back to: /home/your_user_name in the File manager. 5. Folder MyNemo will share nemo from your phone and folder MyRoot will share all your phone system files. 6. For ending of session: * for EXIT from MyNemo, write: Code:
sudo umount /home/your_user_name/MyNemo * for EXIT from MyRoot, write: Code:
sudo umount /home/your_user_name/MyRoot P.S. if connection dropped, you can try reconnect with: Code:
sshfs –o reconnect root@ххх.ххх.хх.хх:/ /home/your_user_name/MyRoot Code:
[Desktop Entry] /home/your_user_name/.local/share/applications 3. Open Dash Home and in the search line write: Nautilus 4. Press on the File Manager with name Nautilus, it will open new window and ask your PC password, insert your PC password and it will open for you File Manager with ROOT privileges. 5. In the /home/your_user_name create 2 folders: MyNemo and MyRoot. 6. Open Terminal and write: For the ROOT access to your phone: Code:
sudo sshfs root@ххх.ххх.хх.хх:/ /home/your_user_name/MyRoot * Now it will ask your Phone ROOT password -> insert it For the USER access to your phone: Code:
sudo sshfs nemo@ххх.ххх.хх.хх:/home/nemo /home/your_user_name/MyNemo * Now it will ask your Phone USER password -> insert it ххх.ххх.хх.хх = IP of your phone. 7. Go back to: /home/your_user_name in the Nautilus file manager. 8. Folder MyNemo will share nemo from your phone and folder MyRoot will share all your phone system files. 9. For ending of session: * for EXIT from MyNemo, write: Code:
sudo umount /home/your_user_name/MyNemo * for EXIT from MyRoot, write: Code:
sudo umount /home/your_user_name/MyRoot P.S. if connection dropped, you can try reconnect with: Code:
sudo sshfs –o reconnect root@ххх.ххх.хх.хх:/ /home/your_user_name/MyRoot ----------------------------------------------------------------------------------------------------------------------------- Solution if you get this error when you trying to connect to your phone: Code:
read: Connection reset by peer xx.xx.x.x = IP of your phone. 2. You will get this long message: Quote:
3. Now run this command: Code:
ssh-keygen -f "/home/YOUR_NAME/.ssh/known_hosts" -R xx.x.x.x Quote:
xx.xx.x.x = IP of your phone. 6. And you will get this message. When it ask you for continue, write “yes”, when at the end it will ask you for your Phone USER password -> insert it: Quote:
7. Now you will get this message, that mean a successfully connected to your phone: Quote:
8. Now write: exit and you will get: Quote:
9. From this point you can start access to your phone file system like explained at the beginning :) IMPORTANT: Remember, when you play with system files, you can break your device. If it happens, I'm not responsible for the damage ;) Download PDF file |
Re: Root and User SSH access via Nautilus on Linux PC
P.S. Small update in PDF...
|
Re: Root and User SSH access via Nautilus on Linux PC
Quote:
|
Re: Root and User SSH access via Nautilus on Linux PC
Quote:
|
Re: Root and User SSH access via Nautilus on Linux PC
sshfs to root@remote host doesnt require sudo on local machine
to umount sshfs mount point without sudo you can use fusermount -u FolderNameHere |
All times are GMT. The time now is 12:03. |
vBulletin® Version 3.8.8