wget http://matt.ucc.asn.au/dropbear/dropbear-0.52.tar.gz tar -xvzf dropbear-0.52.tar.gz cd dropbear-0.52 ./configure #先不要急于make和make install
vi /etc/ssh/sshd_config
service sshd restart
make && make install
mkdir /etc/dropbear /usr/local/bin/dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key /usr/local/bin/dropbearkey -t rsa -s 4096 -f /etc/dropbear/dropbear_rsa_host_key
/usr/local/sbin/dropbear
vi /etc/rc.local
/usr/local/sbin/dropbear –p 2222
sed -i ‘s/22/2222/g’ options.h
yum install zlib* gcc make
/usr/local/sbin/dropbear -h
举报
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )
GMT+8, 2024-12-23 11:07 , Processed in 0.024613 second(s), 17 queries .
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.