当前位置:网站首页>Solve the problem that the virtual machine cannot be remotely connected through SSH service
Solve the problem that the virtual machine cannot be remotely connected through SSH service
2022-07-04 23:16:00 【anieoo】
I'm going through vscode Of ssh Service connection ubuntu When , Report errors :
ssh: connect to host port 22: Connection refused
Here's the solution :
One 、 install openssh-server service
sudo apt-get install openssh-server
Two 、 Install firewall
sudo apt-get install ufw
3、 ... and 、 Account opening firewall
sudo ufw enable
Four 、 Firewall permission 22 The port is open to the outside world
sudo ufw allow 22
边栏推荐
猜你喜欢
Complete tutorial for getting started with redis: bitmaps
P2181 对角线和P1030 [NOIP2001 普及组] 求先序排列
Redis:Redis消息的发布与订阅(了解)
【js】-【排序-相关】-笔记
Redis getting started complete tutorial: Key Management
vim编辑器知识总结
字体设计符号组合多功能微信小程序源码
Qualcomm WLAN framework learning (30) -- components supporting dual sta
法国学者:最优传输理论下对抗攻击可解释性探讨
The difference between cout/cerr/clog
随机推荐
Editplus-- usage -- shortcut key / configuration / background color / font size
A complete tutorial for getting started with redis: getting to know redis for the first time
Redis: redis message publishing and subscription (understand)
Qt个人学习总结
MariaDB的Galera集群-双主双活安装设置
初试为锐捷交换机跨设备型号升级版本(以RG-S2952G-E为例)
Examples of time (calculation) total tools: start time and end time of this year, etc
Wechat official account solves the cache problem of entering from the customized menu
刷题指南-public
MariaDB's Galera cluster application scenario -- multi master and multi active databases
MariaDB的Galera集群应用场景--数据库多主多活
微软禁用IE浏览器后,打开IE浏览器闪退解决办法
Redis getting started complete tutorial: Key Management
Redis: redis transactions
Insert sort, select sort, bubble sort
mamp下缺少pcntl扩展的解决办法,Fatal error: Call to undefined function pcntl_signal()
The difference between debug and release
The initial arrangement of particles in SPH (solved by two pictures)
【剑指Offer】6-10题
How can enterprises cross the digital divide? In cloud native 2.0