linux-l: Passwortuebergabe bei scp

Guntram Trebs gunni at mathematik.hu-berlin.de
Do Jul 5 09:57:40 CEST 2001


Hi,

On Thu, 5 Jul 2001, Michael Weber wrote:

> ich suche eine Moeglichkeit scp das Passwort gleich mitzugeben.
> 
> Hat jemand da ne Idee ? Ueber die bash ?

Hast Du Dir schon die RSA based authentication angeschaut?

Das wird in der man-page von ssh beschrieben und funktioniert
zumindest beim Einloggen über ssh, höchstwahrscheinlich aber
auch bei scp.

Bei slogin kannst Du übrigends auch ein Kommando ausgeben, das auf
dem entfernten Rechner ausgeführt werden soll.


Guntram



       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
 

-- 
gt at planet-interview.de




Mehr Informationen über die Mailingliste linux-l