vulsctl
vulsctl copied to clipboard
config.toml.remotescan - multiple host example
Hi,
How would multiple hosts be defined in the config.toml the example only shows one host. is servers able to be a group of hosts? How do you define each host?
[servers]
[servers.group1]
host = "192.168.1.20"
port = "22"
user = "vuls"
keyPath = "/root/.ssh/id_rsa"
host = "192.168.1.21"
port = "22"
user = "vuls"
keyPath = "/root/.ssh/id_rsa"
or
[servers]
[servers.host1]
host = "192.168.1.20"
port = "22"
user = "vuls"
keyPath = "/root/.ssh/id_rsa"
[servers.host2]
host = "192.168.1.21"
port = "22"
user = "vuls"
keyPath = "/root/.ssh/id_rsa"
~
Hi! You can define hosts the latter way.
[servers]
[servers.host1]
host = "192.168.1.20"
port = "22"
user = "vuls"
keyPath = "/root/.ssh/id_rsa"
[servers.host2]
host = "192.168.1.21"
port = "22"
user = "vuls"
keyPath = "/root/.ssh/id_rsa"
@segatomo Thanks. Can the example be updated for new users?