摘要: 允许root用户登录sshd服务 vim /etc/ssh/sshd_config 将PermitRootLogin 解封并改为yes #允许root登录 PubkeyAuthentication yes 解封 #公钥认证登录(密钥) /etc/init.d/ssh restart #重启ssh服务 阅读全文
posted @ 2021-05-04 16:49 手可摘星辰/* 阅读(643) 评论(0) 推荐(0) 编辑
摘要: 查看ip地址 ifconfig 临时配置IP地址 首先 ifconfig eth0 192.168.0.53/24 #24代表子网255.255.255.0 临时配置IP 其次 route add default gw 192.168.0.1 #配置默认路由 ping 192.168.0.1 当然这 阅读全文
posted @ 2021-05-04 16:28 手可摘星辰/* 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 首先切换到root: su - root 打开sources.list 文件编辑 vim /etc/apt/sources.list 将原来的源 注释 即deb http://http.kali.org/kali kali-rolling main contrib non-free #中科大 deb 阅读全文
posted @ 2021-05-04 10:30 手可摘星辰/* 阅读(9828) 评论(1) 推荐(1) 编辑