@drgo For passwordless ssh there's basically three things you need to learn:
ssh-keygen
authorized_keys
...and possibly you'll need to much about in /etc/ssh/sshd_config Though most distros have sane defaults re: that. Actually, if anything, these days sshd tends to ship with password logins disabled in the default configs.