Connect the remote server and transfer the file system Ubuntu

 
Original link: https: //blog.csdn.net/u013250416/article/details/78075590

A. Connect to a remote Ubuntu server.

1. Open the command line, type: sudo apt-get update, the system updates.

2. Install OpenSSH Server, enter: sudo apt-get install openssh-server

3. Confirm whether SSH Server starts, enter: sudo ps -e | grep ssh. If you start the correct command line is displayed in sshd. as the picture shows:

4. Install Putty, enter: sudo apt-get install putty. Which, Putty is a remote access tool, it can be very easy to log on to perform various operations on Linux servers (command line mode)

5. Use Putty to connect to a remote server, type: sudo putty. It will pop up a login page. as the picture shows:

In the Host Name, fill in the ip address of the server you want to connect. Then click Open, you can connect to the server.

6. Test server working correctly. If the input python.

>> print 'hello'

 

II. Transfer files

Here, use FileZilla to transfer files. FileZilla is a free open source FTP software. 

1. In this installation FileZilla client. Enter: sudo apt-install filezilla

2. Start filezilla. Input: filezilla, as shown:

 

Were filled Host, Username, Password, Port, and finally click Quickconnect. It can connect to the server and download and upload files of friends.

3. upload files to the server

Under Local site, select a file or folder, right click and select Upload.

4. Download the file to a local

在Remote site下, 选择文件或者文件夹,单击右键,选择Download.

 

到此,Ubuntu本地与服务器之间的连接与文件传输的基本操作就讲完了,希望可以给初学者一些帮助。

 

Guess you like

Origin www.cnblogs.com/triple-y/p/11095893.html