-
-
Notifications
You must be signed in to change notification settings - Fork 38
Run SSH Server
UBA supports running in ssh-server mode.
To run UBA as a ssh-server,
python3 uba.py ssh-server
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
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
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: