FTP:The File Transfer Protocol (FTP) is a standard communication protocol used for the transfer of computer files from a server to a client on a computer network. FTP is built on a client–server model architecture using separate control and data connections between the client and the server.[1] FTP users may authenticate themselves with a clear-text sign-in protocol, normally in the form of a username and password, but can connect anonymously if the server is configured to allow it. For secure transmission that protects the username and password, and encrypts the content, FTP is often secured with SSL/TLS (FTPS) or replaced with SSH File Transfer Protocol (SFTP).
SFTP:In computing, the SSH File Transfer Protocol (also Secure File Transfer Protocol, or SFTP) is a network protocol that provides file access, file transfer, and file management over any reliable data stream. It was designed by the Internet Engineering Task Force (IETF) as an extension of the Secure Shell protocol (SSH) version 2.0 to provide secure file transfer capabilities. The IETF Internet Draft states that, even though this protocol is described in the context of the SSH-2 protocol, it could be used in a number of different applications, such as secure file transfer over Transport Layer Security (TLS) and transfer of management information in VPN applications.
Tips:In January 2021, support for the FTP protocol was disabled in
Google Chrome (as of version 88),[4] and disabled in Firefox (as of
version 88.0).[5] In July 2021, Firefox 90 dropped FTP entirely.[6]
多数厂商已经摒弃FTP协议,它确实比较古老
,在安全性上有更好用的SFTP协议完全可以取之代替。而在MacOS系统中,现已移除FTP。本文旨在记录笔者搭建SFTP记录
首先开启SFTP设置,调好相应参数,保存主机信息。
打开控制方测试:输入地址——连接成功
退出方法:control+d/logout
在移动终端也可以用ISH进行操作,方法同理。