goodgoodstudy 说:你是用dropbear,还是其他的sshd?
我现在就是直接在buildroot中选择openssh然后重新编译了,应该不是dropbear吧。。,我对这方面了解的还不够
不好意思,我看错了,你是运行ssh客户端。我以为你运行ssh服务器端,我说的dropbear是ssh服务器。
]]>你是用dropbear,还是其他的sshd?
我现在就是直接在buildroot中选择openssh然后重新编译了,应该不是dropbear吧。。,我对这方面了解的还不够
]]>谢谢……我重新编译了根文件,成功开起ssh了
你是用dropbear,还是其他的sshd?
]]>用这个懒人办法就可以, 可以指定用任何符合条件的gcc工具链,
1. 去当前 .config 里面找到 openssl手动修改文件开启
2. make menuconfig 找到openssl开启。
交叉编译openssh
/***以下为教程*****/
编译openssh会引用上面编译的zlib和openssl的安装目录,如下。
$ cd ../openssh-6.6p1
$ ./configure --host=arm-none-linux-gnueabi --with-libs --with-zlib=/home/veryarm/ssh/zlib.install --with-ssl-dir=/home/veryarm/ssh/openssl.install --disable-etc-default-login CC=arm-none-linux-gnueabi-gcc AR=arm-none-linux-gnueabi-ar
$ make
/***以下我的命令****/
./configure --host=arm-linux-gnueabihf --with-libs --with-zlib=/home/zqh/ssh/zlib.install --with-ssl-dir=/home/zqh/ssh/openssl.install --disable-etc-default-login CC=arm-linux-gnueabihf-gcc AR=arm-linux-gnueabihf-ar
报错为
configure: warning: CC=arm-linux-gnueabihf-gcc: invalid host type
configure: warning: AR=arm-linux-gnueabihf-ar./configure: invalid host type
configure: error: can only configure for one host and one target at a time
这个错误该如何解决,本人刚接触linux,求助.....
]]>