小米R2D

1.使系统可写

mount -o remount -rw /

2.OpenWrt使用dropbear作为服务端,~/.ssh/authorized_keys并不生效。其实,dropbear的公钥存储文件是600权限的 /etc/dropbear/authorized_keys文件

3.golang 编译指令

GOOS=linux GOARM=5 GOARCH=arm CGO_ENABLED=0 go build xxx.go

4.查看当前所有监听端口

netstat -nlp |grep LISTEN 

猜你喜欢

转载自www.cnblogs.com/sanmubai/p/12166903.html