SFTP 和“FTP over SSH"之间的区别 [英] Differences between SFTP and "FTP over SSH"

查看:49
本文介绍了SFTP 和“FTP over SSH"之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 C# SSH 文件传输协议 (SFTP) 中寻找 SFTP 客户端时,我遇到了这两个合适的项目 - 一个两个.

While looking for an SFTP client in C# SSH File Transfer Protocol (SFTP), I've come across these two suitable projects - one and two.

在尝试了解基础知识时,我遇到了这篇令人困惑的维基百科文章.SFTP 和 FTP over SSH 有什么区别?如果不同的话,似乎没有库支持FTP over SSH".

While trying to understand the basics, I came across this confusing Wikipedia article. What is difference between SFTP and FTP over SSH? No library seems to give support for "FTP over SSH", if it is different.

推荐答案

区别如下:

  • SFTP(SSH 文件传输协议)是一种提供文件传输和操作功能的协议.它可以处理任何可靠的数据流,但通常与 SSH 一起使用
  • FTP over SSH"使用常规的旧 FTP 协议,但使用 SSH 隧道位于客户端和服务器之间.
  • SFTP (SSH file transfer protocol) is a protocol that provides file transfer and manipulation capabilities. It can work over any reliable data stream, but is typically used with SSH
  • "FTP over SSH" uses the regular old FTP protocol, but an SSH tunnel is placed between client and server.

您可能找不到FTP over SSH"库,因为通常隧道是通过运行 SSH 命令设置的,一旦设置,客户端和服务器就不需要知道隧道;他们只是打开端口并以他们不需要隧道的方式传输数据.

You probably won't find libraries for "FTP over SSH" because typically the tunnel is set up by running an SSH command, and once it is set up, clients and servers don't need to know about the tunnel; they just open ports and transfer data they way they would without a tunnel.

顺便说一句,您的另一个选择可能是 FTP over SSL (FTPS),它是.NET 支持.(参见 http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.enablessl.aspx.)

BTW, yet another option for you might be FTP over SSL (FTPS), which is supported by .NET. (See http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.enablessl.aspx.)

这篇关于SFTP 和“FTP over SSH"之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆