赞
踩
但是下载更新ssh时显示已经时最新的:
┌──(root㉿kali)-[/etc/network]
└─# sudo apt install openssh-server
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
openssh-server is already the newest version (1:9.2p1-2).
openssh-server set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.
要卸载ssh并重新安装,可以按照以下步骤进行操作:
卸载ssh服务:
sudo apt-get purge openssh-server openssh-client
更新源列表:
sudo apt-get update
安装ssh服务端和客户端:
sudo apt-get install openssh-server openssh-client
启动ssh服务:
sudo service ssh start
检查服务是否启动:
ps -ef|grep ssh
netstat -anp|grep 上面查到的进程号
可以用ssh工具尝试连接 端口号默认是22
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。