Open orjanj opened 2 years ago
Create script for preparing the target to scans.
/etc/netplan/00-installer-config.yaml
hostnamectl set-hostname <hostname>
netplan apply
/etc/ssh/sshd_config
ListenAddress a.b.c.d
scanner-host
worker-host
~/ssh/config
Host *-mng User <username> IdentityFile <path to SSH private key>
tcpdump
chmod
Create script for preparing the target to scans.
Methods needed:
/etc/netplan/00-installer-config.yaml
)hostnamectl set-hostname <hostname>
)netplan apply
to activate new settings/etc/ssh/sshd_config
->ListenAddress a.b.c.d
)scanner-host
toworker-host
scanner-host
public key to authorized keys~/ssh/config
);tcpdump
ischmod
to sticky so that regular users could run the command