In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to install and update the OpenSSH server on Ubuntu and LinuxMint. I think it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.
OpenSSH is a free tool that is widely used for remote login on Linux systems. It uses the ssh/secsh protocol suite to provide encryption for network services. Its source code is free for everyone. This article will cover installing or updating OpenSSH servers on Ubuntu and LinuxMint systems.
Characteristics of OpenSSH
Open source project
Free authorization
Strong encryption (3DES, Blowfish, AES, ArcFour)
X11 forwarding (encrypting x window system traffic)
Port forwarding (encrypted channel for traditional protocols)
Strong authentication (public key, one-time password, and Kerberos authentication)
Proxy forwarding (single sign-on)
Data compression
Step 1: install / update the OpenSSH server
The OpenSSH Server package is available in the default apt repository for all versions of the operating system. You can use the following command to install or update the latest OpenSSH server.
$sudo apt-get update$ sudo apt-get install openssh-server
Step 2: start / stop the OpenSSH service
After installing the latest openssh package from the default apt repository. The open ssh server will start automatically. However, if you need to start, stop, or restart the OpenSSH server from the command line, you need to use the following command.
$sudo service ssh start$ sudo service ssh stop$ sudo service ssh restart
Step 3: open the firewall port
If you use iptables to protect the server, you need to open the port for ssh access using the following command.
$sudo iptables-An INPUT-s 192.168.1.0 pound 24-p tcp-- dport 22-j ACCEPT
If you use UFW to manage the firewall, you need to use the following command.
$sudo ufw allow from 192.168.1.0 to any port 22 and above is how to install and update OpenSSH servers on Ubuntu and LinuxMint. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.