Setting up remote access, basicly means your are opening your system for others to enter. To prevent this, is to keep security in mind at all times. Please refer to related articles in your topic of interest. They can give you valuable hints on securing your system, while opening it for remote access. A golden rule: Never use simple passwords. This means, use a different and more complicated password then your e-mail, facebook, msn, icq etc. If one off these accounts is compromised, an attacker knows your password and fore sure he knows your IP address, so your system is easily Hijacked.
Use openSSH to setup a remote shell. OpenSSH uses the SSH protocol and is currently the most secure way to remotely access your computer. SSH stands for secure shell. OpenSSH offers many configuration options and possibilities: