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

I am familiar with Config::IniFiles to read local ini files. However, how could I go about reading an ini file on a remote linux server that requires authentication (ssh-username/password)? Any pointers would be greatly appreciated!

Replies are listed 'Best First'.
Re: Remote Config::IniFiles
by Corion (Patriarch) on Oct 05, 2018 at 16:50 UTC

    Using Net::SSH2, you can ->exec("cat '$remote_filename'") and then ->read remote files.

    Using that, you can then read the file from the local string:

    $cfg = Config::IniFiles->new( -file => \$ini_file_contents );
      Just following up...this worked like a charm! Thank you so much!
      That sounds promising! Thanks for the idea!