windows - remote connection Linux system

In the  windows  in the system, how to enter the remote  linux, following a few simple examples to explain, hoping to be useful to you.

A, VNCclient

VNCserver needs to be installed on the Linux side, the specific installation, please turn to stand Gangster blog  This is the elevator, safety

1, linux end start VNCserver:

$ vncserver :port
比如:
$ vncserver:1(默认的1号桌面,根据自己情况修改)

windows under the link: Linux ip + port (ip: port)

Actual use of the client + server model, so the client can not modify anything that is synchronized on the server

2, linux closed end VNCserver

$ vncserver -kill :port(前面开的是n,则也是关闭n)

At this point, whether or not the client link, the client will exit

Second, the following methods are several links based on SSH link, you need to configure SSH before making links

1, at the end of linux, the default installation SSH, if not installed, the big brother explained with reference to  this is a lift

An input terminal

$ sudo ps -e | grep ssh
1129 ?        00:00:00 sshd

Description ssh service is started

If it does not, enter

$ sudo service ssh start

2, Xshell link

Open Xshell, and New -> Connection -> input session name -> select host linux host ip address -> port number (default 22) -> (Optional, non-essential), may also choose to re connection time intervals -> OK -> select New session -> connect

Enter the login user name (the name of a Linux system) -> Enter Password (password Linux systems) -> OK (recommended choice to remember your password later for convenient direct connection). I used to ubuntu system.

At this point, the connection is successful!

如果在使用中断开连接,则在xshell中键入指令exit则退出

则可以使用reconnect进行重新连接。(只能连接上一次断开的链接)

Xshell支持的指令很多,具体的可以输入help进行查看。

3、SecureCRT

打开SecureCRT,弹出连接界面,单击 “+” 新建连接 -–> 默认选择SSH,直接下一步 -->

推荐选择“save password”,方便以后进行登录。如果选择记住密码,则在下一次登录的时候直接登录而不是再次输入用户名和密码什么的。

4、putty

如果做完第三步的保存回话,则在下一次打开的时候,可以直接双击上次保存会话的名称,直接进入。

 

 

 

发布了35 篇原创文章 · 获赞 32 · 访问量 8万+

Guess you like

Origin blog.csdn.net/zhemingbuhao/article/details/104023232