Telnet port modification and change commands

Source: Internet
Author: User

In network management, our administrator is often confused about the changes to the Telnet port. Here, we will explain the setup problems in this regard. In this article, we will introduce the specific command operations and hope to help you.

Microsoft Windows XP [version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C: \ Documents and Settings \ meizu fashion> tlntadmn

This is the command for viewing telnet settings.

The following figure shows the result.

The settings on localhost are as follows:

The Alt key has been mapped to 'ctrl + a': YES

Idle session timeout: 1 hours

Maximum number of connections: 2

Telnet port: 23

The port number is 23.

Maximum number of failed logon attempts: 3

End the task upon disconnection: YES

Operation Mode: Console

Authentication Mechanism: NTLM, Password

Default domain: MS-68BAB49808BB

Status: Stopped

C: \ Documents and Settings \ meizu fashion> tlntadmn /?

You can use a question mark to check the usage of this command.

Usage: tlntadmn [computer name] [common_options] start | stop | pause | continue

|-S |-k |-m | config config_options

All sessions use 'all '.

-S sessionid lists session information.

-K sessionid: Terminate the session.

-M sessionid: send a message to the session.

Configure the Telnet server parameters in config.

Common_options:

-U user specifies the user whose creden are to be used

-P password: User password

Config_options:

Dom = domain: Set the user's default domain

Ctrlakeymap = yes | no sets the ALT ing of the ALT key

Timeout = hh: mm: ss: Set the idle session timeout value

Timeoutactive = yes | no enables idle sessions.

Maxfail = attempts set the number of logon attempts that failed before disconnection.

Maxconn = connections sets the maximum number of connections.

Port = number: Set the Telnet port.

Sec = [+/-] NTLM [+/-] passwd

Set the authentication authority

Mode = console | stream specifies the operation mode.

C: \ Documents and Settings \ meizu fashion> tlntadmn config port 32

The command that sets telnet port to 32 is successfully updated.
Prompt: the setting is successful.

C: \ Documents and Settings \ meizu fashion> tlntadmn

View telnet settings again

The settings on localhost are as follows:

The Alt key has been mapped to 'ctrl + a': YES

Idle session timeout: 1 hours

Maximum number of connections: 2

Telnet port: 32

Check again and the port is changed to 32, indicating that the setting is successful.

Maximum number of failed logon attempts: 3

End the task upon disconnection: YES

Operation Mode: Console

Authentication Mechanism: NTLM, Password

Default domain: MS-68BAB49808BB

Status: Stopped

C: \ Documents and Settings \ meizu fashion> tlntadmn config port 23

This is the command I changed back to the original settings.

Update set successfully.

C: \ Documents and Settings \ meizu fashion>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.