Connect windows 10 to a linux Server

Source: Internet
Author: User
Tags microsoft windows 10

Connect windows 10 to a linux Server
When we connect to a server through windows, most of the software on the ssh client is used. ssh is recommended, and the security factor is relatively high. The following describes how to use telnet to connect to the server.

Client:
C: \ Users \ dell> systeminfo Host Name: BOHAO
OS name: Chinese version of Microsoft Windows 10
OS Version: 10.0.10240
OS manufacturer: Microsoft Corporation
OS configuration: Independent workstation OS component type: Multiprocessor Free
Registered Owner: dell
...
...
First, connect to the linux server through windows. Therefore, it is very convenient to install the telnet client service on windows:
Windows key + X ---> program and function ---> enable or disable Windows function ---> select Telnet Client
Then the Telnet client service is automatically installed: Windows keyboard + R ---> cmd ----> telnet
Welcome to Microsoft Telnet Client
The Escape Character is 'ctrl +]'
Microsoft Telnet>
The client has been installed.

Server:

[Root @ localhost ~] # Cat/etc/issue
Enterprise Linux Server release 5.5 (Carthage)
Kernel \ r on an \ m
Check whether xinetd is installed:
[Root @ localhost ~] # Rpm-qa | grep xinetd
Xinetd-2.3.14-10.el5
Already installed. Check whether Telnet is installed:
[Root @ localhost ~] # Rpm-qa | grep telnet
Telnet-0.17-39.el5
At this time, only the Telnet client is installed by default. We need to manually install the Telnet server.
It is relatively simple to install via yum, because the Telnet service package has been downloaded before:
[Root @ localhost shared file] # rpm-ivh telnet-server-0.17-35.2.1.i386.rpm
Warning: telnet-server-0.17-35.2.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... ######################################## ### [100%]
1: telnet-server ##################################### ###### [100%]
Installation is complete.
Configuration:

Modify the telnet configuration file:

Vi/etc/xinetd. d/telnet

Change the disable value to no.

Modify iptables:
Add A line in the/etc/sysconfig/iptables file:-a input-m state -- state NEW-m tcp-p tcp -- dport 23-j ACCEPT

Restart the xinetd service:
[Root @ localhost ~] # Service xinetd restart
Stop xinetd: [OK]
Start xinetd: [OK]
Start the Telnet service: [root @ localhost ~] # Chkconfig telnet on


Obtain the Server IP Address:
[Oracle @ localhost tmp] $/sbin/ifconfig | grep 192
Inet addr: 192.168.1.108 Bcast: 192.168.1.255 Mask: 255.255.255.0

The client uses Telnet to connect to the server:


Enterprise Linux Server release 5.5 (Carthage)
Kernel 2.6.18-194. el5 on an i686
Login: oracle
Password:
Last login: Mon Aug 17 17:32:10 from localhost
-Bash:/home/oracle/. bash_profile: line 24: syntax error: unexpected end of file-bash-3.2 $ bash
[Oracle @ localhost ~] $ W
18:10:58 up, 5 users, load average: 0.10, 0.08, 0.08
User tty from login @ IDLE JCPU PCPU WHAT
Oracle: 0-14:42? Xdm? 0.08 s/usr/bin/gnome-
Oracle pts/1: 0.0 0.02 s 0.02 s bash
Oracle pts/2: 0.0 53: 33 0.07 s 10.96 s gnome-terminal
Oracle pts/3: 0.0 0.00 s 0.00 s bash
Oracle pts/4 localhost 0.00 s 0.00 s 0.00 s w

The connection is successful.

Related Article

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.