Skip to content

Run SSH Server

Eliran Wong edited this page Nov 1, 2022 · 3 revisions

Run UBA as SSH-Server

UBA supports running in ssh-server mode.

To run UBA as a ssh-server,

python3 uba.py ssh-server

Preparations

pip3 install asyncssh

pip3 install bcrypt

ssh-keygen -h

e.g. default settings:

Enter file in which to save the key (/Users/user/.ssh/id_rsa): uba_ssh_server

Enter passphrase (empty for no passphrase): the_best_bible_app

Enter same passphrase again: the_best_bible_app

Change config

If you want settings other than default values, you may edit the following items in config.py while UBA is not running.

sshServerHost - ssh server host

sshServerPort - ssh server port

sshServerPassphrase - ssh server passphrase

sshServerHostKeys - ssh server host keys; either a string or a list of strings

Better SSH Experience

Running ssh-server, as described above, gives users only a simple prompt for command input. If you want to run comprehensive UBA features via ssh, we recommend running "terminal" mode in a VM and access it via ssh.

Below is a screenshot on running UBA in terminal mode:

Android

Clone this wiki locally