gftp linux redhat 9.2 安装
redhat 9.2 的 gftp 需要依赖 glib 和 gtk 的库,具体是哪些懒得琢磨,直接
yum install gtk* glib*
安装:
1、下载gftp源码,官网http://gftp.seul.org/
或 https://github.com/masneyb/gftp
解压、将解压的目录放在你安装软件的地方
终端进入解压目录。我使用的是 gftp-2.0.19.tar.gz
2、gftp-2.0.19.tar.gz 缺少stropts.h文件。就在解压目录创建此空文件
touch stropts.h
3、执行:
./configure #也可以指定安装路径./configure --prefix=path
make
make install
安装就完成了:
如上图所示,
host:要连接服务器的ip;
Port:22;
User:用户名;
Pass:密码;
Local:改为ssh2。
然后点击Host左边的网络连接图标即可。
取消连接只需点击Local后的叉图标。
参考资料:
https://blog.csdn.net/w5nner/article/details/21174671
https://blog.csdn.net/dream_xiaoqw/article/details/17149545
安装完,有以下两个错误:
- 链接后下载时
550 Failed to open file.
Could not download /第三天 运算 from 192.168.0.42
There were 1 files or directories that could not be transferred. Check the log for which items were not properly transferred.
文件权限问题,该文件不支持下载。
2.
425 Use PORT or PASV first.
选项FTP->Preferences->FTP->Passive file transfers 打勾。