当前位置:网站首页>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-serverTwo 、 Install firewall
sudo apt-get install ufw3、 ... and 、 Account opening firewall
sudo ufw enableFour 、 Firewall permission 22 The port is open to the outside world
sudo ufw allow 22 边栏推荐
- Photoshop batch adds different numbers to different pictures
- Question brushing guide public
- colResizable. JS auto adjust table width plug-in
- 刷题指南-public
- EditPlus--用法--快捷键/配置/背景色/字体大小
- Redis: redis message publishing and subscription (understand)
- The solution to the lack of pcntl extension under MAMP, fatal error: call to undefined function pcntl_ signal()
- Redis démarrer le tutoriel complet: Pipeline
- 【二叉树】节点与其祖先之间的最大差值
- Redis入门完整教程:慢查询分析
猜你喜欢

The caching feature of docker image and dockerfile

A complete tutorial for getting started with redis: redis shell

S32 Design Studio for ARM 2.2 快速入门

Redis入门完整教程:Redis Shell

位运算符讲解

Redis入门完整教程:键管理

Redis getting started complete tutorial: publish and subscribe

Stm32 Reverse Introduction to CTF Competition Interpretation

智力考验看成语猜古诗句微信小程序源码

Redis: redis message publishing and subscription (understand)
随机推荐
[ODX studio edit PDX] - 0.2-how to compare two pdx/odx files of compare
JS card style countdown days
Redis入门完整教程:事务与Lua
Tweenmax emoticon button JS special effect
Redis introduction complete tutorial: client communication protocol
colResizable. JS auto adjust table width plug-in
Question brushing guide public
Wechat official account solves the cache problem of entering from the customized menu
实战模拟│JWT 登录认证
Photoshop批量给不同的图片添加不同的编号
A complete tutorial for getting started with redis: transactions and Lua
【js】-【排序-相关】-笔记
Recommended collection: build a cross cloud data warehouse environment, which is particularly dry!
Servlet+jdbc+mysql simple web exercise
JS 3D explosive fragment image switching JS special effect
Redis入门完整教程:键管理
头文件重复定义问题解决“C1014错误“
P2181 diagonal and p1030 [noip2001 popularization group] arrange in order
Redis getting started complete tutorial: Geo
Qt加法计算器(简单案例)