2023年8月24日 星期四

Raspberry Pi self-hosted ftp server and SSH remote access

Purpose:

This Project 利用Raspberry Pi 建構一個自己的FTP server, 並利用cpolar穿網intranet penetration cloud service在任何有網路的地方用電腦或手機去存取想要的資料. 也可Access and control your Raspberry Pi remotely via SSH and AnyDesk.

This Project use Raspberry Pi to build your own FTP server, and use cpolar intranet penetration cloud service to access the desired data with your computer or mobile phone anywhere there is a network. You can also Access and control your Raspberry Pi remotely via SSH and AnyDesk.

Fundamental:

Raspberry Pi:

Raspberry Pi is a popular embedded system board that is relatively small in size and easy to use. Its applications range from hobbyist to professional work areas.
FTP:

FTP (File Transfer Protocol) FTP server is computer software consisting of one or more programs that can execute commands given by remote client(s) such as receiving, sending, deleting files, creating or removing directories, etc. The software may run as a software component of a program, as a standalone program or even as one or more processes (in the background).

FileZilla Client:
The FileZilla Client not only supports FTP, but also FTP over TLS (FTPS) and SFTP. It is open source software distributed free of charge under the terms of the GNU General Public License.

AnyDesk:


AnyDesk 是一套功能強大的免費遠端遙控軟體,操作方式與 TeamViewer 差不多,但是連線速度更快,可以輕鬆突破防火牆的限制,執行程式後會得到一組電腦的ID,只要有被遙控端的ID,連線後等待對方同意就可以開始遠瑞控制。
AnyDesk is a set of powerful free remote control software. The operation method is similar to TeamViewer, but the connection speed is faster, and it can easily break through the firewall restrictions. After executing the program, you will get a set of computer IDs. As long as you have the ID of the remote terminal , After connecting, wait for the other party to agree to start remote control.

coplar:

cpolar is a secure intranet penetration cloud service, which exposes the local server under the intranet to the public network through a secure tunnel. This enables public network users to access intranet services normally.

Intranet penetration, simply put, means that the data of the intranet can be obtained by the external network and can be mapped to the public network, so that the data of the intranet can be accessed on the public network.
Installing the Cpolar on Raspberry Pi:
1. curl -sL https://git.io/cpolar | sudo bash 
or 
2. sudo wget https://www.cpolar.com/static/downloads/cpolar-stable-linux-arm.zip
3. sudo unzip cpolar-stable-linux-arm.zip
4. ./cpolar version
5. https://dashboard.cpolar.com/signup to register
6. ./cpolar authtoken xxxxxxxxxxxxxxxxxx
7. ./cpolar ssh 22

SSH:

The Secure Shell Protocol (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. Its most notable applications are remote login and command-line execution.

PuTTY:

PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. PuTTY is open source software that is available with source code and is developed and supported by a group of volunteers.



YouTubeDemo:




沒有留言:

張貼留言