Results 1 to 8 of 8

Thread: i need to run a script in 50 servers what ssh changes to be done.

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    15
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default i need to run a script in 50 servers what ssh changes to be done.

    hi people,

    I need to run a script in 50 servers.what are the changes needs to be done in ssh configuration.Please guide me.

    Thanks in advance

    Regards
    Amarish Venugopal.

  2. #2
    Contributors jaysunn's Avatar
    Join Date
    Apr 2009
    Location
    NYC - USA
    Posts
    1,023
    Thanks
    164
    Thanked 153 Times in 132 Posts
    Rep Power
    24

    Default

    You will most likely need to setup ssh keys for password less logins.

    SEE:

    Setup SSH Keys Linux |

    Then you will need a for loop. See the URL above.

    jaysunn

  3. The Following User Says Thank You to jaysunn For This Useful Post:

    amarishvenugopal (2nd June 2010)

  4. #3
    Is that all you got? rockdalinux's Avatar
    Join Date
    May 2005
    Location
    Planet Vegeta
    Posts
    987
    Thanks
    27
    Thanked 71 Times in 62 Posts
    Rep Power
    19

    Default

    Hey Jason,

    new sites looks great man. Did you coded it?
    Rocky Jr.
    What's wrong? I hope I am not making you uncomfortable...

    Never send a boy to do a mans job.

  5. #4
    Contributors jaysunn's Avatar
    Join Date
    Apr 2009
    Location
    NYC - USA
    Posts
    1,023
    Thanks
    164
    Thanked 153 Times in 132 Posts
    Rep Power
    24

    Default

    Yeah,
    I coded it all. Minus the CMS.
    I am using DRUPAL and I am using a cool theme.

    Thanks for the feedback.

    jaysunn

  6. #5
    Is that all you got? rockdalinux's Avatar
    Join Date
    May 2005
    Location
    Planet Vegeta
    Posts
    987
    Thanks
    27
    Thanked 71 Times in 62 Posts
    Rep Power
    19

    Default

    Cool. That must have taken a lot of time to code. So you need to know php, css, and mysql to make all those changes?

    I apologize for temporarily hijacking this thread.
    Rocky Jr.
    What's wrong? I hope I am not making you uncomfortable...

    Never send a boy to do a mans job.

  7. #6
    Contributors jaysunn's Avatar
    Join Date
    Apr 2009
    Location
    NYC - USA
    Posts
    1,023
    Thanks
    164
    Thanked 153 Times in 132 Posts
    Rep Power
    24

    Default

    I guess you can say I know it. I consider myself a student that is learning, languages.

    I have been studying PHP, PYTHON and PERL. As well as my favorite;
    BASH.


    jaysunn

  8. #7
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,500
    Thanks
    17
    Thanked 789 Times in 507 Posts
    Rep Power
    10

    Default

    @OP: generate ssh keys and put for loop in a script:
    Code:
    servers="server1 server2 server3 server50"
    for s in $servers
    do
       ssh user@$s /path/to/script
    done
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  9. The Following 2 Users Say Thank You to nixcraft For This Useful Post:

    amarishvenugopal (2nd June 2010), GeeKZ (7th June 2010)

  10. #8
    Junior Member
    Join Date
    Dec 2009
    Posts
    15
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    thank u guys for the useful information....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. best approach to script ssh/telneting into various servers
    By green_hydralisk in forum Shell scripting
    Replies: 2
    Last Post: 25th March 2010, 09:21 PM
  2. Allow only open dns servers on port 53 and block all other public DNS servers
    By onehomelist in forum Networking, Firewalls and Security
    Replies: 12
    Last Post: 4th February 2010, 01:55 PM
  3. script to rm files on multiple servers
    By steve_f60 in forum Shell scripting
    Replies: 1
    Last Post: 21st June 2008, 10:29 PM
  4. login into multiple servers thru script...
    By avcert1998 in forum Shell scripting
    Replies: 2
    Last Post: 17th March 2007, 03:29 AM
  5. Script to add users to multiple servers.
    By deepakhg in forum Shell scripting
    Replies: 0
    Last Post: 17th March 2007, 03:02 AM

Posting Permissions

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