Re: ssh-agent and ssh-add automatically

From: Dr. Poo (drpoo@houston.rr.com)
Date: 12/18/02

  • Next message: Ray Thompson: "RE: ssh-agent and ssh-add automatically"
    From: "Dr. Poo" <drpoo@houston.rr.com>
    To: "David Danovich" <David.Danovich@huji.ac.il>, <secureshell@securityfocus.com>
    Date: Wed, 18 Dec 2002 12:13:18 -0600
    
    

    www.google.com -- Keychain ssh

    If you search it, they will come?? Hehe

            -Chris

    On Tuesday 17 December 2002 02:49 am, David Danovich wrote:
    > Hi,
    >
    > I have a linux cluster (RedHat 7.3) with 4 linux boxes. In order for ssh
    > to operate without password I seted up private authentication keys using
    > ssh-keygen -t rsa command. Created authorized_keys and known_hosts files
    > and everything works fine. The problem is that every time I open a new
    > window or start a new session I have to carry out several commands in
    > order to use this ssh without password. The commands I need to do is
    > following
    >
    > ssh-agent $SHELL
    > ssh-add
    >
    > I also need to write my passphrase and only after this procedure I am
    > able do carry out any command on any nodes directly from server without
    > typing password or passphrase. (For example, command like
    > ssh -n har3 date). Har3 is the name of one of the node.
    >
    > What I want is to skip this procedure with ssh-agent and ssh-add
    > commands. Is it possible to modify some configuration files of ssh so
    > that I would be able to carry out command on nodes when I write it
    > actually on server (like
    > above command ssh -n har3 date) directly when I start a new session
    > without ssh-agent and ssh-add commands.
    >
    >
    > Thank you in advance David



    Relevant Pages

    • Re: ssh-agent and ssh-add automatically
      ... The commands I need to do is ... You should run ssh-agent only once when you log in, ... ssh-add < /dev/null ... If you do not run X11, ...
      (SSH)
    • Re: perl expect script to login to multiple machines
      ... ssh public key method and execute the commands inside the foreach and ... 2.- SSH let's you execute remote commands on that servers. ...
      (perl.beginners)
    • Checking for existence of command prior to execution
      ... alone in an interactive shell it works though. ... it will fail if I add ssh to the list of commands which is ... aliased by the tcsh that is calling the above script. ...
      (comp.os.linux.misc)
    • Re: [PHP] SSH and php
      ... % Is it possible to run a SSH command from php? ... it's possible to run any command from php. ... % Doing a quick search on google for "SSH commands" and "SSH help" returned ...
      (php.general)
    • Re: r command security
      ... > My write-up was to clean up trust relationships in the rhost.equiv file and ... Instead, I recommended using ssh. ... > system administrators didn't buy into this because they have to use these ... Some software needs r commands to work and cannot be changed to use ...
      (comp.security.unix)