Open

Hybrid Perl/ Python bash pages

You will be working with ssh directly on the server

I have an existing perl site which has some functionality 

1. I need to be able to use the perl website to call a bash script on a remote machine (remote machine ip will come from perl session id)

I can currently do this from shell

example

#!/usr/bin/perl

use warnings;

use strict;

use CGI;

use Net::OpenSSH;

use warnings;

our $cgi = new CGI;

use Net::OpenSSH;

my %opts = (

    #user        => "UNAME",

    #password    => "MYPASSWORD",

    strict_mode => 0,        

);

my $ssh = Net::OpenSSH->new("[login to view URL]",%opts,master_opts => [-i => "MY KEY FILE"], async => 1);

$ssh->system("/var/www/html/trunk2/[login to view URL]") or    

    die "remote command failed: " . $ssh->error;

2

create a webpage which will list some data found on a db (db will be based on login session)

Display 6 values

update values if they change

ability to select some values and then call 3 other pages to process commands on the selected

once command type is decided

a telnet session will be opened

some login values will be sent

up to 5 commands will be sent

wait for a value

display the value on a toast or similar

end

3.

I have an existing python page which use static db values

I want the db host to be dynamic based on the login of the perl session

This project can lead to many other similar project if done right

Skills: Python, Perl, Linux, Shell Script

See more: failed update advertisement boonex, perl cgi bash, perl mysql bash, call python function from bash script, bash script python, python code from bash, python bash variable, pass bash variable to python, bash python, python heredoc bash, call python script from bash, rhce know perl python, perl scrape web pages, perl crawl login pages, create php document perl python, extracting data html file perl python, html formmail php perl python, perl parse bash restart script, 3dsmax script perl python, asterisk written perl python

About the Employer:
( 120 reviews ) dix hills, United States

Project ID: #25649513

6 freelancers are bidding on average $191 for this job

aribafreelance20

Hi Dear I read your details have a perl site and wanna a functionality to call a bash script on a remote machine I've done many projects similar to this for several years using perl as backend language for many proj More

$250 USD in 5 days
(7 Reviews)
4.2
WebDigitalExpert

Hi I am a Certified Python & R Expert. I have good experience dealing with python & R. I'm sure I will complete your project. Let's discuss a few points. I'll not disappoint you

$250 USD in 7 days
(5 Reviews)
2.7
itramsin

Hi, I am a perl developer with 9 years of experience. I might need some details on the description you provided. Let me know your thoughts. thanks,

$278 USD in 20 days
(0 Reviews)
0.0
pokushalov

I did a lot of python -> DB automation and can read and change Perl if needed (used to before python). For ssh commands, I'm using python pexpect package and using drives to access DB. I just finished some db automat More

$140 USD in 7 days
(0 Reviews)
0.0
lalitatmt

Hello there, Hope you are doing well. As per your need, I am proficient with .net. I am having around 15+ years of experience in mobile & .NET technologies. I am expert in asp.net MVC, Web API, asp.net, WPF, AngularJ More

$200 USD in 7 days
(0 Reviews)
0.0
kozindeveloper

Dear client Stay tuned. Glad to see you and thank you for your posting job. Since have 4+ years experiences of Linux OS development such as Ubuntu, RedHat and CentOS, I have always confidence to give you satisfying r More

$30 USD in 1 day
(0 Reviews)
0.0