Ways of making sshd more secure?
I have a PC with Manjaro and a phone with TermuxArch. I want to use the phone to SSH into PC when I'm not home. This means I'll have to make sshd as secure as possible. What can I do to achieve it?
What I have already done:
-
Replaced password with pubkey
-
Changed sshd port number
P.S: if I enable both pubkey and OTP (Google Authenticator) so that both are used, sshd fails to start.
Posted Dec 15, 2019, 11:52 AM UTC
Set up a VPN (Wireguard or OpenVPN) and only allow ssh access within the VPN network
bonus point: You can use the VPN to securely surf on public wifi access points