Nuclear_Man_D

Change debian SSH port

Mar 6th, 2020
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.10 KB | None | 0 0
  1. sudo sed -i '/Port [0123456789]\+/d' /etc/ssh/sshd_config
  2. echo 'Port 19199' >> /etc/ssh/sshd_config
Advertisement
Add Comment
Please, Sign In to add comment