12-07-2019, 03:41 PM
A safer and simpler version is to remove the SSH server altogether. Unless you need to SSH into your pbpro, this should be the recommended approach:
sudo apt-get purge openssh-server
Use "purge" instead of "uninstall", so that all configuration files and pregenerated keys are also removed.
Note that the ssh client remains installed, so you can still SSH to remote machines as usually.
sudo apt-get purge openssh-server
Use "purge" instead of "uninstall", so that all configuration files and pregenerated keys are also removed.
Note that the ssh client remains installed, so you can still SSH to remote machines as usually.