Skip to content

SSH SFTP

XK edited this page Jun 6, 2023 · 12 revisions

SSHBanner

Overview

SSH provides a secure command line method to communicate with your Miyoo Mini+.

SFTP provides a secure file transfer method

Features

SSHhello

Virtual password auth.

Command-Line Interface

Scripting and automation

Debugging and troubleshooting

Encrypted

Activating

You'll find it in Tweaks -> Network -> SSH and you'll get 2 options:

Enable - Activate SSH access

Enable authentication - Activate authentication (username/password)

SSHgradient

Logging in

Once you've activated your SSH server in Tweaks (and exited tweaks!) you'll now be able to connect using software such as PuTTY, SolarPuTTY, Hyperterm. You'll also be able to use an SFTP client to transfer files securely

You'll need the IP of the device, found below.

IP

Exit tweaks to apply & start the SSH server

Disabling authentication

Although this is not recommended on other peoples WIFI, when you're at home on your own WIFI this is absolutely fine (or any other secure WIFI!)

Head over to Tweaks -> Network -> SSH and enable:

image

Now restart the SSH server, there will no longer be a login screen.

Changing the default password

The default username will be root (we cannot change this currently)

The default password will be onionos

The file this is stored in is kept in /mnt/SDCARD/.tmp_update/config and is called .auth.txt. There's various ways to edit this:

Connect your SD to your PC and edit the file

Use FTP/SFTP

Use the built in text editor on HTTP fileserver

pwd

Once your password is changed, restart SSH for it to take effect.

Security

Although we've taken every precaution to offer as much security as possible, remember to keep your Onion safe. SSH/SFTP is the most secure of the services Onion offers to communicate with your device but it is not advisable to leave SSH enabled while using public/open WIFI unless you're activley using it.

Check out the new wiki here:

onionui.github.io/docs

Clone this wiki locally