@tedu @napple
Sshocial
A prompt based SSH client for the Fediverse. Currently under heavy development.
Getting StartedServer Up and Running
mix deps.get
mkdir -p priv/sshd
ssh-keygen -t ed25519 -f priv/sshd/ssh_host_ed25519_key
mix run --no-halt
The SSH server is now available on the port 2222.
Connecting To The Server
Authentication is a mandatory step and must use SSH pubkey. On your fedi account, add a field authorized_keys with your SSH public key (only one public key is supported). Once added, you can login using the following command:
ssh -p 2222 user@instance@sshocial_server
Where:
user is your usernameinstance is the instance domainsshocial_server is the address or domain where this software is running
Enjoying The Features
To perform pretty much any actions you must have a valid token in your possession. Generate or get one, in whatever way you want (you can this token generator).
Once the token in your possession, you have to save in it typing token <YOUR TOKEN>. An help is available under the help command.
Help! I have
Error, unknown command: <A VALID COMMAND> :(
Have you saved your token? This message is shown when token isn’t saved, which may occur after a disconnect because there’s currently no persistency. Save your token and try again the command.