Xshell remote connection server and Linux under disk partitioning scheme

Source: Internet
Author: User

One, set Xshell
Enter Xshell, select File, open, new. Change the name of the session, and change the idea of host IP;
Two, troubleshooting remote connection server
1,ip address, that is, the location of the server, address;
1) Public IP: Refers to the IP that everyone can access, but the limited number and most in the United States;
2) intranet, that is, local area network, private network, refers to the current environment can use the IP
192.168.xx.oo
172.16.oo.xx
10.0.0.xx
192.168.21.xx
10.0.0.xx
10.0.0.200;
2, port number:
The port number is used to differentiate between different services (remote Connection service------->sshd------->22 Port)
3, Protocol:
Is the rule of mutual promise.
Third, unable to connect server troubleshooting ideas
1) Check if the road is connected
2) Check if there is an interception
3) If there is a corresponding port
Ping 10.0.0.200 Check if the connection is connected
Telnet 10.0.0.200 22 Check for 22 ports
Connection established has established a connection
Connection Failed Connection failed
1. Check if the road is connected
1) #ping服务器IP地址
[E:\~]$ Ping 10.0.0.200
Pinging 10.0.0.200 with 32 bytes of data:
Reply from 10.0.0.200: Byte =32 time <1ms ttl=64
Reply from 10.0.0.200: Byte =32 time <1ms ttl=64
Reply from 10.0.0.200: Byte =32 time <1ms ttl=64
Reply from 10.0.0.200: Byte =32 time <1ms ttl=64
Ping Statistics for 10.0.0.200:
Packet: Sent = 4, received = 4, lost = 0 (0% missing),
Estimated time to round trip (in milliseconds):
Shortest = 0ms, longest = 0ms, average = 0ms

See similar MS,TTL instructions for connecting through
[E:\~]$ Ping 10.0.0.202
Pinging 10.0.0.202 with 32 bytes of data:
Reply from 10.0.0.1: Unable to access target host.
The request timed out.
The request timed out.
The request timed out.
Ping Statistics for 10.0.0.202:
Packet: Sent = 4, received = 1, lost = 3 (75% missing)

There is no connection through
2) Check if there is an interception
Check firewalls and the like
3) Check if there is a corresponding port
1) [e:\~]$ telnet 10.0.0.200 22
Connecting to 10.0.0.200:22 ...
Connection established.
To escape to local shell, press ' ctrl+alt+] '.
ssh-2.0-openssh_5.3
Protocol mismatch.
Connection established has established a connection
2) [e:\~]$ telnet 10.0.0.200 25
Connecting to 10.0.0.200:25 ...
Could not connect to ' 10.0.0.200 ' (port): Connection failed.
Type ' help ' to learn. Xshell prompt.
Connection failed Connection failed
Four, unable to connect server common causes
1) IP address is correct
2) service Network configuration file
3) Open VMware inside
Edit---> Virtual Network Editor---> NAT mode----> Subnet IP 10.0.0.0
NAT settings:---> Gateway ip:10.0.0.254
4) VMware Services
Win+r input services.ms
VMware Authorization Service is running/started automatically
VMware NAT Service is running/started automatically
5) network card for Windows virtual machine
Open My Computer/This computer-----> Internet connection
Five. Disk partitioning scheme under Linux
1, Scenario 1-Applicable to data not important
/boot partition divided into 200M (Centos7 system sub-1G)
Swap partition memory <8g is 1.5 times times that of him; >=8g is 8G;
/root partition What's left of him?
2., scenario 2-Applicable to data importance
/boot partition divided into 200M (Centos7 system sub-1G)
Swap partition memory <8g is 1.5 times times that of him; >=8g is 8G;
/root partition Sub-20--200g
/data data partition How much is left for him to divide;
3, Scenario 3-applicable to not knowing whether it is important
/boot partition divided into 200M (Centos7 system sub-1G)
Swap partition memory <8g is 1.5 times times that of him; >=8g is 8G;
/root partition Sub-20--200g
Remaining unallocated, keep who is used to assign to WHO

Xshell remote connection server and Linux under disk partitioning scheme

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.