$ ssh-copy-id -i keyName.pub User@Server
$ chmod 700 ~/.ssh $ chmod 600 ~/.ssh/authorized_keys
$ cat ~/.ssh/keyName.pub | ssh User@Server 'cat >> ~/.ssh/authorized_keys'
$ scp ~/.ssh/keyName.pub User@Server:~ $ ssh User@Server $ cat ~/keyName.pub >> ~/.ssh/authorized_keys
$ ssh User@Server
PasswordAuthentication no ChallengeResponseAuthentication no
$ sudo service ssh restart