Help for this page

Select Code to Download


  1. or download this
    #Port 22
    Port 4444
    
  2. or download this
    Port 4444
    Port 4444
    
  3. or download this
    while (<SSHD_CONFIG>) {
        next if ( /^#/ );
        s/^port.+/Port $sshport/i;
        print SSHD_CONFIG_NEW;
    }
    
  4. or download this
    while (<SSHD_CONFIG>) {
        s/^port.+/Port $sshport/i;
        print SSHD_CONFIG_NEW;
    }