不喜欢使用 Ubuntu Server 命令行的朋友,下面的内容将会给你一个惊喜。我们照样可以使用图形化界面来管理命令行的系统。
远程图形化管理软件也有很多,比如 SSH Secure Shell Client、FileZilla
等。
使用图形化界面是易于操作,不过也要付出代价的——不能操作该用户权限以外的文件
,这极大地限制了它的实用性。所以,这也是为什么它只提供
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 功能传输文件。
Launch FileZilla.
Select "Site Manager" from the File pull-down menu.
选择“打开站点管理器”
Click the "New Site" button. 点击“新站点”
Name the site "SEAS Home Directory" under "My FTP Sites".
站点管理器界面,“选择项”下的“我的站点”
Under "My FTP Sites", click on "SEAS Home Directory".
将“新站点”名称重命名为“lewis”
Under Host, type eniac.seas.upenn.edu . 输入 “主机 ”的 域
名(前提是你有域名服务器)或 IP
Under Port, type "22". SSH 服务器的端口号
Under "Servertype" type "SFTP using SSH2". 该服务的“服务器类型”为“SFTP -
SSH File Transfer Protocol”
Under "Logontype" click the button next to "Normal".
登录类型为“一般”
Under User, type your SEAS username. 登录的用户名
Click the button "Save and Exit".