Plesk Parallels add authorized keys authentication

In Parallels Plesk 9.x, 10.x and 11.x for Linux (in this case CentOS 6.6) there is a bug. You can not authenticate via ssh key or add one f.e. with: $> ssh-copy-id -i .ssh/deploy_rsa.pub user@ask-sheldon.com Thats why you have to do this: Edit ssh deamon configuration: $> sudo nano /etc/ssh/sshd_config Add the following line: AuthorizedKeysFile […]

SSH key authentication

Generate ssh key $> ssh-keygen Start ssh agent $> ssh-agent /bin/bash Add ssh key $> ssh-add ~/.ssh/id_rsa List all used ssh keys $> ssh-add -l Show public key $> cat ~/.ssh/id_rsa.pub Copy key to remote host via ssh $> ssh-copy-id -i id_rsa.pub ssh-user@host.domain If ssh-copy-id isn’t available on the respektive system, you can use the […]