5
#ubuntu 开启ssh服务
source link: https://xmanyou.com/ubuntu-enable-ssh/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
10 April 2021
/ linux
#ubuntu 开启ssh服务
新装的Ubuntu 有时候并没有自动安装ssh服务。
尝试用ssh连接时,会报错:
ssh: connect to host 192.168.1.xx port 22: Connection refused
这时候,需要手动安装。
sudo apt update
sudo apt install openssh-server
安装完后默认启动ssh服务,如果没有的话,可以手动开启。
sudo systemctl enable --now ssh
sudo systemctl start ssh
sudo systemctl status ssh
阿斌
Read more posts by this author.
扫一扫关注微信公众号:耿直的IT男阿斌
聊一聊IT男眼中的世界
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK