su
or sudo
, always.su
or sudo
)sudo
for users so commands are logged/etc/ssh/sshd_config file
-p <port#>
flag if you used a custom SSH port.$HOME/.ssh/config
file:ssh cardano-server
rather than needing to pass through all ssh parameters explicitly.unattended-upgrades
service only installs security updates automatically. For details on configuring unattended upgrades, see How to Setup & Configure Unattended Upgrades on Ubuntu 20.04, for example./etc/pam.d/sshd
file:sshd
daemon using:/etc/ssh/sshd_config
.google_authenticator
file: yes/etc/fstab
ignoreip
parameter accepts IP addresses, IP ranges or DNS hosts that you can specify to be allowed to connect. This is where you want to specify your local machine, local IP range or local domain, separated by spaces.1To Action From2-- ------ ----3[ 1] 22/tcp ALLOW IN Anywhere4[ 2] 3000/tcp ALLOW IN Anywhere5[ 3] 6000/tcp ALLOW IN Anywhere6[ 4] 22/tcp (v6) ALLOW IN Anywhere (v6)7[ 5] 3000/tcp (v6) ALLOW IN Anywhere (v6)8[ 6] 6000/tcp (v6) ALLOW IN Anywhere (v6)Copied!
<RELAY NODE PORT>
with your public relay port, replace the 5 with your preferred connection limit.