apt-get install openssh-server
In “/etc/ssh/sshd_config”
PermitRootLogin no RSAAuthentication yes PubkeyAuthentication yes PasswordAuthentication yes
service ssh restart