前言
为了传输文件和远程控制的方便,目前要给fsl imx6开发板移植SSH环境。
参考了网上的文章,我自己编译并搭建好了ssh开发环境,由于编译和搭建过程比较繁琐,可直接下载使用我编译好的ssh环境,避免自己去编译:
下载链接:
链接: https://pan.baidu.com/s/1My4hqUDR2ZYLXJ3qt689VA.
提取码: ps9h
详细过程请参考下面的转载文章(非常详细)
链接: https://blog.csdn.net/wanvan/article/details/87779150.
遇到的问题:
1、“sshd: error while loading shared libraries: libcrypto.so.44: cannot open shared object file: No such file or directory”
/usr/lib中缺少库文件和软链接
2、sshd re-exec requires execution with an absolute path
手动运行sshd需要带全路径:/usr/sbin/sshd
3、Permissions 0777 for ‘/usr/local/etc/ssh_host_ecdsa_key’ are too open.
/usr/local/etc/*目录下的所有文件权限必须设置为0700