WINDOWS10 connecting to a Linux server

Source: Internet
Author: User
Tags microsoft windows 10

usually we pass Windowsmost of the SSH client software is used when connecting to the server, it is recommended to use SSH, the safety factor is relatively high. The following describes using Telnet to connect to the server.

Client:
C:\users\dell>systeminfoHost Name: Bohao
OS Name: Microsoft Windows 10 Home Chinese version
OS version: 10.0.10240
OS Manufacturer: Microsoft Corporation
OS Configuration:Standalone WorkstationsOS Widget Type: Multiprocessor free
Registered Owner: Dell
...
...
The first is to connect to a Linux server through Windows, so installing the Telnet Client service is easy to install on Windows:
Windows key +x-—— >programs and features ——-> enable or disable Windows features ——— > select Telnet Client
The Telnet Client service is then installed automatically: Windows keyboard +r--->cmd---->telnet
Welcome to Microsoft Telnet Client
Escape character is ' Ctrl +] '
Microsoft telnet>
the client is now installed.

Server-side:

[email protected] ~]# cat/etc/issue
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Kernel \ r on an \m
Check if xinetd is installed:
[email protected] ~]# Rpm-qa | grep xinetd
Xinetd-2.3.14-10.el5
has already been installed. Check if Telnet is installed:
[email protected] ~]# Rpm-qa | grep telnet
Telnet-0.17-39.el5
The Telnet client is installed by default and we need to manually install the Telnet server side
Installing with Yum is easy because the Telnet service package was previously downloaded:
[[Email protected] 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:

To modify the Telnet configuration file:

Vi/etc/xinetd.d/telnet

put change the value of disable to No

Modify iptables:
add a line to the file in/etc/sysconfig/iptables:-a input-m State--state new-m tcp-p TCP--dport 23-j ACCEPT

Restart the XINETD service:
[Email protected] ~]# service xinetd restart
Stop xinetd: [OK]
Start xinetd: [OK]
Start the Telnet service: [[email protected] ~]# chkconfig telnet on


Get Server IP:
[Email protected] tmp]$/sbin/ifconfig | grep 192
inet addr:192.168.1.108 bcast:192.168.1.255 mask:255.255.255.0

The client connects to the server via Telnet:


Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Kernel 2.6.18-194.el5 on an i686
Login:oracle
Password:
Last Login:mon 17:32:10 from localhost
-bash:/home/oracle/.bash_profile:line 24:syntax error:unexpected end of file-bash-3.2$ bash
[Email protected] ~]$ W
18:10:58 up 3:31, 5 users, Load average:0.10, 0.08, 0.08
USER TTY from [email protected] IDLE jcpu PCPU
Oracle:0-14:42? XDm? 1:10 0.08s/usr/bin/gnome-
Oracle PTS/1:0.0 17:23 3:11 0.02s 0.02s Bash
Oracle PTS/2:0.0 16:37 53:33 0.07s 10.96s gnome-terminal
Oracle PTS/3:0.0 17:56 14:15 0.00s 0.00s Bash
Oracle PTS/4 localhost 18:10 0.00s 0.00s 0.00s W

The above has been successfully connected.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

WINDOWS10 connecting to a Linux server

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.