通过SSH&QUOT FTP,SFTP和&QUOT之间的差异; [英] Differences between SFTP and "FTP over SSH"

查看:221
本文介绍了通过SSH&QUOT FTP,SFTP和&QUOT之间的差异;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在查找在C#中SSH文件传输协议SFTP客户端(SFTP),我已经遇到这两个合适的项目 - 有一个 2

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

在试图了解的基础知识,我碰到这种混乱维基百科文章。什么是通过SSH SFTP和FTP的区别?没有图书馆似乎给了FTP通过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通过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通过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.

BTW,但另一种选择,你可能会基于SSL的FTP(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.)

这篇关于通过SSH&QUOT FTP,SFTP和&QUOT之间的差异;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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