Digital Marketing

Exclude hosts in ssh config

To exclude specific hosts or IP-ranges from a specific ssh configuration, you can simple add an ! before the hostname.


Example


Host * !goyun.info !192.168.0.? !*.local

  # config goes here

Comments

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership