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 durationThank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Snap is available for Red Hat Enterprise Linux (RHEL) 8 and RHEL 7, from the 7.6 release onward.
The packages for RHEL 7, RHEL 8, and RHEL 9 are in each distribution’s respective Extra Packages for Enterprise Linux (EPEL) repository. The instructions for adding this repository diverge slightly between RHEL 7, RHEL 8 and RHEL 9, which is why they’re listed separately below.
The EPEL repository can be added to RHEL 9 with the following command:
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
sudo dnf upgrade
The EPEL repository can be added to RHEL 8 with the following command:
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf upgrade
The EPEL repository can be added to RHEL 7 with the following command:
sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Adding the optional and extras repositories is also recommended:
sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
sudo yum update
Snap can now be installed as follows:
sudo yum install snapd
Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:
sudo systemctl enable --now snapd.socket
To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap
and /snap
:
sudo ln -s /var/lib/snapd/snap /snap
Either log out and back in again or restart your system to ensure snap’s paths are updated correctly.
To install sshpiperd, simply use the following command:
sudo snap install sshpiperd
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.
Get to know Canonical, the company behind the products.
The world's favourite Linux OS for servers, desktops and IoT.
One subscription for security maintenance, support, FIPS and other compliance certifications.
The app store for Linux: secure packages and ultra-reliable updates.
A pure-container hypervisor. Run system containers and VMs at scale.
Build a bare metal cloud with super fast server provisioning.
Upgrades, maintenance, support, and fully managed options for long-term, low-cost infra.
Software-defined storage that lowers your total cost of ownership.
App portability for K8s on VMware, Amazon, Azure, Google, Oracle, IBM and bare metal.
Deploy, integrate and manage applications at any scale, on any infrastructure.
Stream Android applications to any device.
The software collaboration platform behind Ubuntu.
Optimised Ubuntu for public clouds.
Spin up Ubuntu VMs on Windows, Mac and Linux.
Control and customise your cloud instances.
Systems management and security patching for Ubuntu.
Simplify and standardise complex network configuration.
AI and MLOps at any scale, on any cloud.
Deploy a fully functional cloud in minutes.