This mini-howto explains how to set up an SSH server on Debian Etch with public-key authorization (and optionally with disabled password logins).
Read it here
SSH is a great tool to control Linux-based computers remotely. It's safe and secure.
There's no warranty that it'll work for you. All of these settings are applicable for Debian and -like systems! There may be slightly changes on other systems as well.