You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
obfssh/obfssh_server/config_example.yaml

47 lines
1.0 KiB
YAML

8 years ago
# vim: set ft=yaml:
#
#
# listen port
port: 2022
# the key to encrypt the transport data
obfs_key: some_keyword
# ssh host key file
host_key_file: ssh_host_rsa_key
# the method to encrypt the transport data
# avaiable methods: rc4, aes, none or ""
# none or "" means disable the obfs encrypt
#obfs_method: rc4
obfs_method: "rc4"
# show more log message
# value true or false
debug: true
# the users used by ssh server
# user can authorite by passwrod or by public key
# public key as same as OpenSSH
# public key or password must be specify one
#
users:
-
# username
username: user1
# password, empty password means disable password authorize
password: ""
# public key file
authorized_key_file: /path/to/user/authorized_keys
-
username: user2
password: user2
authorized_key_file: /path/to/user/authorized_keys
-
username: user3
password: ""
authorized_key_file: /path/to/authorized_keys