GBase 8a
适配迁移
文章
GBase 8a在用过sftp加载时,由于sha256原因导致报错 ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: I/O operation on sftp failed with error - Failed initialization, File name
GBase社区管理员发表于2020-12-28 16:18:50212次浏览0个评论
redhat7 的sshd开始支持sha256的密钥传输算法,默认的sha1不再支持。如果GBase 8a数据库版本比较老,则在加载开启了sha256安全加固的sftp时,就会报这个错误 Failed initialization。
报错样例
gbase> load data infile 'sftp://gbase:gbase1234@10.0.2.101/home/gbase/1.txt' into table t1;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: I/O operation on sftp://gbase:*********@10.0.2.101/home/gbase/1.txt failed with error - Failed initialization, File name sftp://gbase:*********@10.0.2.101/home/gbase/1.txt
解决方法
升级支持sha256的GBase 8a集群版本即可。
参考
评论已关闭
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25044
- 42023-09-25浏览数:18519
- 52020-05-11浏览数:17526