Use PuTTY to connect remotely Linux servers and related experiments

A direct connection Linux

1. First (go native in windows download PuTTY official website to download it)
opens the following figure
Here Insert Picture Description
2. Enter the ip address of the Linux server in the figure on top of the Host Name, click on the bottom of the Open will be connected. (Note that Linux was first off the firewall)
to enter a user name and password into the terminal.
After logging in as shown:

Here Insert Picture Description

II. Linux and can be connected to output graphics interface

1. First to download a software named in the windows Xming

Remember this is selected during installation:
Here Insert Picture Description
After successful installation, open PuTTY, enter the Linux ip in the Host Name, the Connection-> SSH-> X11 Check Enable X11 forwarding, and then open the line. Firefox input terminal (if Firefox) or xclock.
firefox :( pop up this interface)
Here Insert Picture Description
the xclock:
Here Insert Picture Description

Three .Windows transfer files to the server

Very simple, just enter a command at the cmd
ip address pscp file directory Linux user name @Linux: the copy destination address
example:
pscp D: /123.txt [email protected]: / Home / root / Desktop

IV. Ssh port to use proxy access

plink is a very practical program associated with the download of the download when PuTTY.
Enter in cmd

plink -v -C -N -D local ip: port number -l Linux user name -P server port number of the server IP address

example:

plink -v -C-N -D 192.168.1.101:7000 -l root -P 22 192.168.8.129

Here Insert Picture Description

Later you will be prompted to enter the account password, direct input on the line.

Then start modifying agent:
Here Insert Picture Description
At this point the machine can use the server online.

First this matter, the latter will continue to update! !

Reference blog:
https://blog.csdn.net/iteye_1236/article/details/81828604

Released eight original articles · won praise 13 · views 2605

Guess you like

Origin blog.csdn.net/jcbx_/article/details/104301707