Warning: Creating default object from empty value in /www/htdocs/finrik/blog/wp-includes/functions.php on line 292

Strict Standards: Only variables should be passed by reference in /www/htdocs/finrik/blog/wp-includes/gettext.php on line 66
www.finrik.at - Die persönliche Webseite von Wolfgang Hollaus
Mit SSH Keys am Server anmelden

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/finrik/blog/wp-includes/functions-formatting.php on line 76

Für den User Root:
Am Client:


# ssh-keygen -t rsa -b 1024 (Kein Passwort & Standard Speicherort)
# cd .ssh
# scp id_rsa.pub root@10.0.0.101:/root/.ssh/id_rsa.client

Am Server:

# cat ~/.ssh/id_rsa.client >> /root/.ssh/authorized_keys

Woran kann es liegen, wenn es nicht funktioniert?
Einstellungen in der “/etc/sshd/sshd_config” Datei:

RSAAuthentication yes
PubkeyAuthentication yes
Authorizedkeysfile .ssh/authorized_keys

Comments are closed.