Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2008
    Posts
    24

    Cool Unanswered: Script to loging without putting Password

    I am having a script which ask for password for unix box during login....

    I need to make in such a way that it willn't ask for password for everytime during login. As I am having many servers and to run many scripts.When I will run this script it will do ssh to other Unix boxautomatically without asking for username and password.

    for i in user1@10.116.112.16 ;do
    echo "ENTER UNIX PASSWORD FOR SERVER $i AT THE PROMPT"
    ssh $i
    done;


    Pls suggest me.............


    Thanks,
    Gohappy

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Set up public key authentication on the servers.
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Oct 2002
    Location
    Baghdad, Iraq
    Posts
    697
    Hit google for "setting up ssh with a public key"

  4. #4
    Join Date
    Apr 2008
    Posts
    24
    Thanks scoOy..........

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •