This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tech:ansible:start [2021/07/13 02:45] rk4n3 |
tech:ansible:start [2021/07/13 02:48] (current) rk4n3 |
||
---|---|---|---|
Line 9: | Line 9: | ||
Append to ''/etc/ssh/sshd_config'' on controlled hosts, to allow ansible root SSH connection: | Append to ''/etc/ssh/sshd_config'' on controlled hosts, to allow ansible root SSH connection: | ||
<code> | <code> | ||
- | Match Address 192.168.0.25,192.168.0.220 | + | Match Address 192.168.0.25,192.168.0.0/24 |
- | PermitRootLogin yes | + | PermitRootLogin prohibit-password |
</code> | </code> | ||
//Links: [[tech:start|tech]] ... [[:start|main]]// \\ | //Links: [[tech:start|tech]] ... [[:start|main]]// \\ | ||