Find the answer to your Linux question:
Results 1 to 2 of 2
So I am creating a shell script to check various security settings on RHEL 5.6 servers. Obviously I am not a guru with this so how can I have the ...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    38

    Executing A Local Shell Script On A Remote Server...

    So I am creating a shell script to check various security settings on RHEL 5.6 servers. Obviously I am not a guru with this so how can I have the script on one machine (RH or Windows) and be able to run it against a remote box without actually installing it on the remote box? I want to avoid installing it on multiple servers.

    Thanks,

    Ray

  2. #2
    Linux Newbie
    Join Date
    Dec 2009
    Posts
    241
    You can create a script that gets a list of ips of a file, tries to connect with ssh and runs some commands.

    Shouldn't be a problem.
    You may wanna check ssh configuration, theres the possibility to add a key into a list that will get accepted without user auth.
    Or you store user and pw in a file ...

    Hope that helps u.

Posting Permissions

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