SSH-Proxy
// TODO This documentation is still work in progress.
Description
The SSH-Proxy service will proxy ssh traffic through the remote server or lxc connector.
Syntax
[service.<nickname_of_sshproxy>]
type="ssh-proxy"Arguments in config file
There are 2 arguments in ssh-proxy service:
| argument | default setting | explanation |
|---|---|---|
banner |
SSH-2.0-OpenSSH_6.6.1p1 2020Ubuntu-2ubuntu2 | Set the banner of your shell. |
private-key |
random | Set a ssh private-key. |
Example
[service.sshproxy]
type="ssh-proxy"
director="lxc"
[[port]]
port="tcp/8022"
services=["sshproxy"]
[director.lxc]
type="lxc"
host="***.***.***.***"How to test
ssh -p 8022 [email protected]
Availability
| Linux | MacOS | |
|---|---|---|
| ssh-proxy | yes | yes |