Re: ssh without password for root

From: aryzhov (aryzhov@my-deja.com)
Date: 01/31/03

  • Next message: Maciej Babinski: "AltGr in PuTTY breaks ~ key"
    From: aryzhov@my-deja.com (aryzhov)
    Date: 31 Jan 2003 11:27:41 -0800
    
    

    linuxreddy@rediffmail.com (reddy) wrote in message news:<39131f10.0301310137.701e2f32@posting.google.com>...
    > i am using OpenSSH_3.4p1 on solaris 8 from sunfreeware ,
    > i can log without password using ssh-agent and ssh-add
    >
    > reddy@workstation to reddy@server1
    > reddy@workstation to reddy@server2
    >
    > i want to log from workstation to servers without password
    > reddy@workstation to root@server1
    > reddy@workstation to root@server2
    >
    > how can i do this using my userid/host(reddy/workstation)
    > based authentication
    >
    > what is the best practise in this type of typical scenario
    >
    > my intention is to run commands as root on server1 server2
    > without entering password from workstation
    >

    Not sure how it works with OpenSSH, but with FCom's ssh
    I can specify to ssh-agent whose private key to use for all
    future child process authentications.

    If I, as a user, specify the root's private key file (which obviously
    should be readable by that user), I am asked for root's private key
    passphrase and can use "ssh -l root servername" afterwards, without
    entering the passphrase.

    I never use passwd-based authentication, but publickey-based only,
    it is not only more secure, but IMHO more flexible, too.



    Relevant Pages

    • ssh without password for root
      ... i can log without password using ssh-agent and ssh-add ... i want to log from workstation to servers without password ...
      (comp.security.ssh)
    • Re: cant login to exchange
      ... Is your workstation configured to use one of your companys DNS servers? ... see Help and Support Center at ... > message DLL files to display messages from a remote computer. ...
      (microsoft.public.exchange2000.general)
    • Re: Event ids 529 and 681
      ... you see a large number of these from the same workstation in a short period ... type of failed audits and the workstation and/or domain names are ... > Servers members of SERVERS domain. ... Not members of SERVERS domain. ...
      (microsoft.public.win2000.security)
    • Re: Quake performance SGI vs Sun
      ... handled on departmental compute servers, today, I don't even bother firing ... UNIX can do perfectly... ... There is perfectly good hardware available on the PC side. ... Anything that big isn't running on a workstation. ...
      (comp.sys.sun.hardware)
    • Re: Two networking cards
      ... You really need to do some Tracert from workstation and servers in the .19 ... It may be the dual port network card is routing packets, ... "Ray" wrote: ...
      (microsoft.public.windows.server.networking)