First of all, I am well aware of that there are many of questions regarding this topic. I have read them, but still could figure out an appropriate answer for my situation.<
As many have already said that using ssh keys would be the safest and best way.
If anyone else is still wondering around and searching for help, in Ubuntu help there is a fast and straight forward way to use ssh keys.