使用图形化界面是易于操作,不过也要付出代价的——不能操作该用户权限以外的文件 ,这极大地限制了它的实用性。所以,这也是为什么它只提供 SFTP(传递文件功能)的原因。此外,如果你要删除一个目录文件,那此操作将花费很长时间,而用 sudo rm 命令行一下子搞定。
使用SSH Secure Shell Client,该软件是免费的SSH远程登录软件。缺点是使用本地编码 ,比如windows是GBK,那么登录就是通过GBK连接,这样如果服务器编码是 UTF-8,会产生中文乱码。
下面,我们将使用 FileZilla 的 SFTP 功能来实现 Windows XP 与 Ubuntu Server 之间的文件传输交互功能。这样,在 Windows 下,也可以使用图形化界面来管理 command-line 格式的 Linux 服务器了。
接下来,废话就不多说了,进入主题——在 Windows 上,如何使用 FileZilla 的 SFTP 功能传输文件。
eniac.seas.upenn.edu
. 输入
“主机
”的
域
名(前提是你有域名服务器)或 IP
Graph 1 Configure the Site Manager
那私钥怎么导入呢?因为只有通过私钥登录,才能进入服务器。我们有两种方式导入私钥。
For SFTP using SSH2, FileZilla utilizes the excellent PuTTY tools . To allow the use of RSA / DSA key files with Filezilla, you'll need to download two more tools from PuTTY: Pageant and (assuming your key file isn't already in PPK format) PuTTYgen .换句话说,我们可以使用 Pageant 的 Session 代理功能实现第一种方法的功能。
Graph 1 the main Set Configuration
Graph 2 Input the secret of Private Key
Graph 3 Transform the PuTTY type of Private key to FileZilla and save it
上述两种方法都已测试过,可以连接到服务器的。
到此为止,登录服务器前的所有工作都已完毕。下载就登录系统测试一下吧,看能否成功?
OK, success, Congratulation!
参考文章