PPerldope has asked for the wisdom of the Perl Monks concerning the following question:

I need your help I am trying to ssh into many servers. I can ssh using my script but I need to know how I can ssh into jump servers as well. Can anybody help me please?

Replies are listed 'Best First'.
Re: jump servers
by Old_Gray_Bear (Bishop) on Aug 22, 2013 at 06:10 UTC
    From the Wikipedia:
    A typical configuration is a hardened Unix machine configured with SSH and a local firewall. A SSH connection is then made from the administrator's desktop to the Jump Server and SSH forwarding is used to access the target machine in the DMZ.
    From this I would gather that a Jump Server is accessed through SSH, just like any other server.

    Now, whether you have the appropriate and credentials to do so is another matter. And whether it is a good idea to allow a random script to access a highly sensitive server is a question that you need to take up with both your Boss and your Security Officer.

    ----
    I Go Back to Sleep, Now.

    OGB

      Well yes, I have the access I was told to write such a script I have it sshing into all the servers but I don't know how to get it to log into the DMZ half or where to def the DMZ path.

        I have seen code that used Net::SSH::Expect to log into one server, then called an SSH client on that server to jump to the next server. This might be an approach to look at.

        Hope that helps.