SSH Anmeldung
Mirko Schoppmeier
ms at abacom.net
Mon Jan 29 17:16:37 CET 2001
Hallo! Marco Meier hat geschrieben:
> Hi Leute,
>
> ich möchte Befehle auf einem Remote Computer ausführen, bei dem
> ich die Konfiguration nicht beeinflussen kann.
>
> Ich kann mich jedoch mit ssh anmelden. Kann ich die Anmeldung
> auch automatisiert (Skripte) durchführen ohne das Kennwort manuell
> eingeben zu müssen?
man ssh
Ssh implements the RSA authentication protocol automati
cally. The user creates his/her RSA key pair by running
ssh-keygen(1). This stores the private key in .ssh/iden
tity and the public key in .ssh/identity.pub in the user's
home directory. The user should then copy the iden
tity.pub to .ssh/authorized_keys in his/her home directory
on the remote machine (the authorized_keys file corre
sponds to the conventional .rhosts file, and has one key
per line, though the lines can be very long). After this,
the user can log in without giving the password. RSA
authentication is much more secure than rhosts authentica
tion.
also: mit ssh-keygen einen key generieren. dann die Datei ~/.ssh/identity.pub
auf den remote rechner nach ~/.ssh/authorized_keys kopieren. evtl Rechte
aendern.
mfg
Mirko
More information about the Linux
mailing list