Help for this page

Select Code to Download


  1. or download this
    if (param("lremail") && param("lot")) {
        my $address=param("lremailaddress");
    ...
        print end_html;
        system ("ssh SERVERNAME /test/abc.csh $lot $$ $address &");
        exit(1);
    
  2. or download this
    expect -c 'spawn ssh SERVERNAME /test/abc.csh J213520 06 abc@gmail.com
    + "ls -lh file"; expect "Password:"; send "PASSWORD\r"; interact'