Ho-hummm. Trying to use `salt-ssh` with the "scan" roster against one of my test VMs, but it keeps failing with:
[ERROR ] No matching targets found in roster
Debug output shows that it's apparently scanning the host, and there are packets showing up in tcpdump on the target host, so I guess it *is* scanning the host.
Port 22 is definitely open, I can log in via SSH manually there.
But there is no attempt to log-in in the logs when using `salt-ssh`. What am I missing?.. #Salt #SysAdmin
@petjal it's all -j ACCEPT, it's a separated test network. And besides, the test packets arrive at the minion allright.
@rysiek Does telnet <host> 22 (or similar) make it through?
@petjal I can ssh to the minion without issues.
@rysiek
I have no idea about Salt, but
>no matching targets found in roaster
sounds like the name of the target (machine?) that you're typing in commandline isn't on the list of targets that Salt knows about.
@Wolf480pl yes, and that's why I'm using the "scan" roster. that's the whole point.
@rysiek sudo iptables -L ?