Help for this page

Select Code to Download


  1. or download this
    # Untested example. Modify to your needs
    open my $pipe_command, "|-", "ssh $hostname 'passwd --stdin bob'";
    print $pipe_command "$password\n";
    close $pipe_command;