/usr/bin/ssh-copy-id: ERROR: ssh: connect to host localhost port 22: Connection refused
问题原因:ubuntu默认没有安装openssh-server,想要看是否安装,则执行ps -e | grep ssh,如果是这样
说明没有安装openssh-server,则需要安装它
sudo apt-get install openssh-server
日常遇到问题记录
最新推荐文章于 2023-10-24 19:34:01 发布
博客指出Ubuntu系统默认未安装openssh - server,可通过执行特定操作查看是否安装,若未安装则需进行安装。
3万+

被折叠的 条评论
为什么被折叠?



