Help for this page

Select Code to Download


  1. or download this
    $ssh->auth_publickey($SSH_USER, './virt_pub', './virt_priv.ppk') or di
    +e "pk connection error $!\n";
    
  2. or download this
    # you need  permission to read the keys
    $ssh2->auth_publickey('zentara',
    ...
             '/home/zentara/.ssh/id_dsa',
              $pass );