Install latest/stable of sshpiperd
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
sshpiper is the reverse proxy for sshd. all protocols, including ssh, scp, port forwarding, running on top of ssh are supported.
Config
sudo snap set sshpiperd <config>=<value> sudo snap restart sshpiperd
sshpiperd
sshpiperd.plugins space separated list of plugins, allowed values: workingdir, fixed, yaml failtoban,sshpiperd.address listening addresssshpiperd.port listening portsshpiperd.server-key server key files, support wildcardsshpiperd.server-key-data server key in base64 format, server-key, server-key-generate-mode will be ignored if setsshpiperd.server-key-generate-mode server key generate mode, one of: disable, notexist, always. generated key will be written to server-key if * no`texist or alwayssshpiperd.login-grace-time sshpiperd forcely close the connection after this time if the pipe has not successfully establishedsshpiperd.log-level log level, one of: trace, debug, info, warn, error, fatal, panicsshpiperd.typescript-log-dir create typescript format screen recording and save into the directory see https://linux.die.net/man/1/scriptsshpiperd.banner-text display a banner before authentication, would be ignored if banner file was setsshpiperd.banner-file display a banner from file before authenticationsshpiperd.drop-hostkeys-message filter out hostkeys-00@openssh.com which cause client side warningsworkingdir plugin
workingdir.root path to root working directoryworkingdir.allow-baduser-name allow bad usernameworkingdir.no-check-perm disable 0400 checkingworkingdir.strict-hostkey upstream host public key must be in known_hosts file, otherwise drop the connectionworkingdir.no-password-auth disable password authentication and only use public key authenticationyaml plugin
yaml.config path to yaml config fileyaml.no-check-perm disable 0400 checkingfixed plugin
fixed.target target ssh endpoint addressfailtoban plugin
failtoban.max-failures max failuresfailtoban.ban-duration ban durationYou are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.