Ubuntu opens port 22

Ubuntu opens port 22

Scenario

You need to use the xshell tool to connect to the Ubuntu server via ssh. Default port 22.

result

General Connection


Command line connection

//Connect directly to ssh remote machine [email protected] through command
Or telnet 192.168.67.128 22

analyze

There is no problem with the ip and port.
Check whether the server port 22 is enabled.
lsof -i:22

//Restart is required after installation sudo apt-get install openssh-server openssh-client 

service ssh start
ssh localhost
lsof -i:22


SSH remote connection access

This is the end of this article about how to open port 22 in Ubuntu. For more information about how to open port 22 in Ubuntu, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Solution to the startup error problem of AndroidStudio4.1 under Ubuntu
  • Solution to the error problem of Vscode remotely connecting to Ubuntu
  • Detailed tutorial on using VS Code and installing C/C++ plugins in Ubuntu
  • How to change password and set password complexity policy in Ubuntu
  • How to install and configure GitLab on Ubuntu 20.04
  • How to install vncserver in Ubuntu 20.04
  • Ubuntu20.04 VNC installation and configuration implementation
  • Ubuntu configuration Pytorch on Graph (PoG) environment process diagram

<<:  How MySQL uses transactions

>>:  Vue keeps the user logged in (various token storage methods)

Recommend

Build a Docker image using Dockerfile

Table of contents Build a Docker image using Dock...

HTML Form Tag Tutorial (4):

Suppose now you want to add an item like this to ...

A brief discussion on mobile terminal adaptation

Preface The writing of front-end code can never e...

Vue's new partner TypeScript quick start practice record

Table of contents 1. Build using the official sca...

The most basic code for web pages

◆Add to favorites illustrate Click to add your we...

How to use Docker to build a pypi private repository

1. Construction 1. Prepare htpasswd.txt file The ...

Basic syntax of MySQL index

An index is a sorted data structure! The fields t...

Complete example of vue polling request solution

Understanding of polling In fact, the focus of po...

The easiest way to install MySQL 5.7.20 using yum in CentOS 7

The default database of CentOS7 is mariadb, but m...

How to view image information in Docker

In this article, we will need to learn how to vie...

HTML tag dl dt dd usage instructions

Basic structure: Copy code The code is as follows:...