Bonjour,
Voila j'essaye de créer une connexion ssh entre 2 serveurs en PERL, et cela toujours avec echec...j'ai pourtant parcouru de nombreux site, forum, etc...le problème ce trouve au niveau des packages..mais bon bref passons.
la connexion ssh fonctionne très bien en bash dc jme suis demander si dans mon script PERL je pouvais appel mon scipt bash dans lequel il y aurai ma connexion ssh..
___________________________________
scrpit Perl:
#! /usr/bin/perl -w
my $host = "x.x.x.x";
my $user = "bidul";
???? ./connection_ssh.sh host user
____________________________________
script bash:
#!/bin/bash
ssh $2@$1
_____________________________________