Help for this page

Select Code to Download


  1. or download this
    myserver ~ >ssh user@1.2.3.4
    TACACS+ Password:
    ...
    Connection to 1.2.3.4 closed by remote host.
    Connection to 1.2.3.4 closed.
    myserver ~ >
    
  2. or download this
    sub anoc2server {
    ### Start the SCP
    ...
            my $scp = Net::SCP::Expect->new(host=>$dstserver, user=>$user,
    + password=>$passwd);
            {$scp->scp($srcpathfile,$dstpathfile);}}
    }