Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure SSH and Xshell remote connection servers in Linux

2024-07-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)09/14 Report--

In this issue, the editor will bring you about how to configure SSH and Xshell connection server in Linux. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.

Ubuntu installation and configuration ssh tutorials

SSH is divided into client openssh-client and server openssh-server. You can use the following command to confirm the computer

Whether the client and server are installed on the. If you just want to log on to another machine remotely, you only need to install the client.

(the client is installed by default in Ubuntu). If you want native SSH services, you need to install the server.

First of all, make sure that ssh-server has been started, which is already started below.

~ $dpkg-l | grep ssh

[/ code]

~ $sudo apt install openssh-client

~ $sudo apt install openssh-server

The copy code is as follows:

Xshell starts the SSH of the server

Remote landing Xshell installs XShell http://xshellcn.com in win

Ifconfig can view / configure the computer's current network card configuration information.

# check the server IP address and user name corresponding to the Nic

$ifconfig | grep inet

To log in and copy files remotely, we need to enter Xshell to enter the command.

First log in to Xshell, create a new session, and click Connect.

Enter login server Ip, port 22 (default), and select the protocol SSH. Confirm and connect later

Finally, enter the user name and password.

Click on the connection or open the session. The following situation indicates that the information is correct.

Simple use of SSH client in Xshell software

Password login is very simple and requires only one command in the format: ssh [- p port] server name @ server IP

Port port defaults to 22, otherwise you need to add-p port and enter information according to the process.

~ $ssh qaq@192.168.255.134

The first login requires a user name and password

Check to see if the information is connected and enter the server.

What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.

The above is the editor for you to share how to configure SSH and Xshell connection server in Linux. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report