Over-Advice6046@alien.topBtoSelf-Hosted Main@selfhosted.forum•Sorry for the stupid question but how do I set up port forwarding for an SSH server?English
1·
1 year agoBefore you porr forward your ssh, you need to secure it first, example:
-
Changing your ssh port to unusal port (something above 20000 or 30000 would be good)
-
Setup your ssh to not use password auth and use only pubkey
After you set that, port forward the port that you choose and run the command in your terminal or powershell:
ssh -v ‘pubkeynameyouchoose.pub’ -p ‘portyouchoose’ username@ipaddress
Depend on how much you spin the VM, with 8GB ram you can spin 2-4 VM. In 16 GB maybe 4-8 VM.