3 ms·
If you are running the server and your server is compromised than the attacker can remove the ssh server you are running and put up his own malicious program to
by theboss 13y ago
If you are running the server and your server is compromised than the attacker can remove the ssh server you are running and put up his own malicious program to collect your password if and only if they port is above 1024, and they don't need root privileges, they can have www-data privileges or whatever
- Volundr 13y agoAgain if he can remove ssh running as root on port 1xxxx, he can run his ssh-alike on port 22.