sshwifty auf conf file umgestellt
This commit is contained in:
@@ -8,4 +8,5 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
- SSHWIFTY_SHAREDKEY=${PASSWORD}
|
volumes:
|
||||||
|
- ./sshwifty.conf.json:/etc/sshwifty.conf.json
|
||||||
|
|||||||
35
sshwifty/sshwifty.conf.json.sample
Normal file
35
sshwifty/sshwifty.conf.json.sample
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"HostName": "",
|
||||||
|
"SharedKey": "changeMe",
|
||||||
|
"DialTimeout": 5,
|
||||||
|
"Socks5": "",
|
||||||
|
"Socks5User": "",
|
||||||
|
"Socks5Password": "",
|
||||||
|
"Servers": [
|
||||||
|
{
|
||||||
|
"ListenInterface": "0.0.0.0",
|
||||||
|
"ListenPort": 8182,
|
||||||
|
"InitialTimeout": 3,
|
||||||
|
"ReadTimeout": 60,
|
||||||
|
"WriteTimeout": 60,
|
||||||
|
"HeartbeatTimeout": 20,
|
||||||
|
"ReadDelay": 10,
|
||||||
|
"WriteDelay": 10,
|
||||||
|
"TLSCertificateFile": "",
|
||||||
|
"TLSCertificateKeyFile": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Presets": [
|
||||||
|
{
|
||||||
|
"Title": "Docker",
|
||||||
|
"Type": "SSH",
|
||||||
|
"Host": "192.168.0.111:22",
|
||||||
|
"Meta": {
|
||||||
|
"User": "root",
|
||||||
|
"Encoding": "utf-8",
|
||||||
|
"Authentication": "Password"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"OnlyAllowPresetRemotes": false
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user