Can i set port forwarding on my router? Will the connection be encrypted then?
closed as primarily opinion-based by n.st, Thomas, Isaac, Jeff Schaller♦, thrig Nov 26 '18 at 1:25
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.
Short answer: yes. Read more about how ssh encryption works here.
However, I suggest that you read up on how to secure (harden) ssh to protect yourself against brute force attacks and whatnot.
Plus maybe set a limit on port 22 in a local firewall (I personally use
ufw and consider it a good tool: http://man.he.net/man8/ufw), or use a tool like
Follow this link: https://is.gd/lk5mIs for a bunch of good advice.