bindings

Port and IP address bindings. By default the server will bind to any IP address, listen on port 22 and will serve both SFTP and SCP protocols.

# default bindings
bindings:
  - { port: 22, ipAddress: 0.0.0.0, sftp: true, scp: true }
  - { port: 22, ipAddress: "::", sftp: true, scp: true }

bindings[].port

number = 22

Port number to listen on.

bindings[].ipAddress

string: [<IPv4 address> | <IPv6 address> | <hostname>]

IP address to listen on. Use 0.0.0.0 to listen on any IPv4 endpoint and :: on any IPv6 endpoint. Hostnames can be used as well, the address will be resolved when the server starts.

bindings:
  - ipAddress: 192.168.1.1
    # ...
  - ipAddress: "::"
    # ...
  - ipAddress: test.rebex.net
    # ...

bindings[].sftp

boolean = true

Enable SFTP protocol on the binding.

bindings[].scp

boolean = true

Enable SCP protocol on the binding.