会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
Azure's Blog
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
38
39
40
41
42
43
44
45
46
···
76
下一页
2021年5月8日
openwrt部署natfrp实现内网穿透
摘要: 需求 项目用到一台华为的嵌入式设备且ip不允许更改,计划使用openwrt软路由+4G网卡实现内网穿透远程访问。 改造 4G网卡型号华为E8372h-155,路由器(理论上支持openwrt带usb都行) 连接4G网卡,登陆openwrt后台,如无法识别需要安装依赖 kmod-usb-net-rnd
阅读全文
posted @ 2021-05-08 11:40 azureology
阅读(2201)
评论(0)
推荐(0)
2021年4月22日
通过SHA256识别ssh pubilc key对应用户
摘要: 需求 跳板机需要记录用户登陆日志 实现 查看/var/log/auth.log包含用户认证信息如下 Accepted publickey for jump from XXX.XXX.XX.XXX port XXXXX ssh2: RSA SHA256:pO8i... 其中SHA256可于识别用户 $
阅读全文
posted @ 2021-04-22 15:20 azureology
阅读(1218)
评论(0)
推荐(0)
Ubuntu18.04网卡失效ifconfig interrupt 16 memory
摘要: Issue 因编译swap耗尽强制重启,发现系统无法上网。 ifconfig只有本地回路lo ifconfig -a能看见eno1网卡,提示interrupt 16 memory xxxx Solve 手动修复配置文件 sudo -i service network-manager stop rm
阅读全文
posted @ 2021-04-22 11:14 azureology
阅读(1520)
评论(0)
推荐(0)
2021年4月13日
为跳板机创建跳转用户限制ssh登陆
摘要: server create a user without shell access(proxy jump only) sudo -i useradd jump -m -d /home/jump -s /home/jump/nologin cd /home/jump cat <<EOF >> nolo
阅读全文
posted @ 2021-04-13 20:25 azureology
阅读(191)
评论(0)
推荐(0)
2021年4月12日
C++中vector末尾元素end()和back()
摘要: 起因 最近code review看到有关vector末尾元素的问题 代码 一个简单的例子 #include <iostream> #include <vector> int main() { std::vector<int> vec{1,2,3,4,5}; std::cout<<*vec.end()
阅读全文
posted @ 2021-04-12 23:52 azureology
阅读(2478)
评论(1)
推荐(0)
上一页
1
···
38
39
40
41
42
43
44
45
46
···
76
下一页
公告