美文网首页
Ubuntu 22.04 开启SSH

Ubuntu 22.04 开启SSH

作者: 小杨同学97 | 来源:发表于2023-07-21 07:30 被阅读0次

1、安装SSH服务端软件

sudo apt-get install openssh-server

2、启动SSH服务

# 启动SSH服务
sudo systemctl start ssh
# 查看SSH服务启动状态
systemctl status ssh
Pasted image 20230714194412.png

3、防火墙允许

将SSH服务端口(默认为22)添加到防火墙允许列表中,使用以下命令打开端口22。

sudo ufw allow 22/tcp

相关文章

  • Ubuntu 22.04 SSH the RSA key isn

    Ubuntu 22.04 SSH the RSA key isn't working since upgradin...

  • Ubuntu 22.04 开启dnsmasq

    Ubuntu 22.04 NetworkManager 自带 dnsmasq 但默认没有启用,在 /etc/Net...

  • Ubuntu Server 安装

    准备 Ubuntu Server 镜像下载: Ubuntu_Server_22.04[https://ubuntu...

  • Beginning_ubuntu_远程连接

    Ubuntu开启SSH服务 查看sshserver是否启动 ps -e | grep ssh 安装openssh-...

  • Nginx和Hexo配置

    Ubuntu Nginx 安装 Ubuntu 22.04数据包更新 安装 nginx 核心版本 运行 nginx ...

  • Ubuntu常用命令整理

    ubuntu16.04 server 开启 ssh: 使用x-shell连接主机,发现22端口没有打开,开启ssh...

  • 6 Ubuntu软件源设置和SSH 开启

    由于后面使用Xshell连接Ubuntu需要,先配置Ubuntu软件源,并且开启SSH服务。 Ubuntu 软件源...

  • Ubuntu 开启ssh

    ssh–secure shell,提供安全的远程登录。从事嵌入式开发搭建linux开发环境中,ssh的服务的安装是...

  • Ubuntu开启SSH

    1 安装SSH Server 2 检查ssh服务开启状态 3 启动ssh服务 4 配置openssh-server...

  • ubuntu 开启ssh

    刚才新装了一个Ubuntu Server 16.04.3 发现没有ssh的服务,那就自己来安装咯, 安装opens...

网友评论

      本文标题:Ubuntu 22.04 开启SSH

      本文链接:https://www.haomeiwen.com/subject/wattpdtx.html