{"id":104078,"date":"2024-09-16T18:33:10","date_gmt":"2024-09-16T10:33:10","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=104078"},"modified":"2024-09-16T18:33:10","modified_gmt":"2024-09-16T10:33:10","slug":"centos7-sftp-server","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/centos7-sftp-server.html","title":{"rendered":"CentOS7 configuration uses the SFTP server"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | SFTP\uff0c\u5373 SSH \u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff08 SSH File Transfer Protocol \uff09\uff0c\u6216\u8005\u8bf4\u662f\u5b89\u5168\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff08 Secure File Transfer Protocol \uff09\u3002SFTP \u662f\u4e00\u4e2a\u72ec\u7acb\u7684 SSH \u5c01\u88c5\u534f\u8bae\u5305\uff0c\u901a\u8fc7\u5b89\u5168\u8fde\u63a5\u4ee5\u76f8\u4f3c\u7684\u65b9\u5f0f\u5de5\u4f5c\u3002\u5b83\u7684\u4f18\u52bf\u5728\u4e8e\u53ef\u4ee5\u5229\u7528\u5b89\u5168\u7684\u8fde\u63a5\u4f20\u8f93\u6587\u4ef6\uff0c\u8fd8\u80fd\u6d4f\u89c8\u672c\u5730\u548c\u8fdc\u7a0b\u7cfb\u7edf\u4e0a\u7684\u6587\u4ef6\u7cfb\u7edf\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u5728\u5f88\u591a\u60c5\u51b5\u4e0b\uff0cSFTP\u90fd\u6bd4FTP\u66f4\u53ef\u53d6\uff0c\u56e0\u4e3a\u5b83\u5177\u6709\u6700\u57fa\u672c\u7684\u5b89\u5168\u7279\u6027\u548c\u80fd\u5229\u7528 SSH \u8fde\u63a5\u7684\u80fd\u529b\uff0cFTP\u662f\u4e00\u79cd\u4e0d\u5b89\u5168\u7684\u534f\u8bae\uff0c\u53ea\u80fd\u5728\u6709\u9650\u7684\u60c5\u51b5\u4e0b\u6216\u5728\u60a8\u4fe1\u4efb\u7684\u7f51\u7edc\u4e0a\u4f7f\u7528\u3002<\/p>\n \u5148\u51b3\u6761\u4ef6\uff1a<\/p>\n \u670d\u52a1\u5668 OpenSSH-Server \u7248\u672c\u6700\u4f4e4.8p1\uff0c\u56e0\u4e3a\u914d\u7f6e\u6743\u9650\u9700\u8981\u7248\u672c\u6dfb\u52a0\u7684\u65b0\u914d\u7f6e\u9879 ChrootDirectory \u6765\u5b8c\u6210\u3002<\/p>\n \u5982\u4f55\u67e5\u770bOpenSSH\u7248\u672c\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n \r\n$ ssh -V\r\nOpenSSH_6.6.1p1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\n<\/pre>\n |