Current location - Quotes Website - Collection of slogans - Liunx。 How does the system open SSH remote service and port 22? What are the specific sequence and steps? Thank you.
Liunx。 How does the system open SSH remote service and port 22? What are the specific sequence and steps? Thank you.
1. install ssh:? Yum installs ssh? Or? Install ssh

2. start ssh:? Service sshd startup

3. Log in to the remote server:? ssh-p 50022 my @ 127 . 0 . 0 . 1

Enter password

Description:

-p is followed by the port.

My is the server user name.

127.0.0. 1 is the server ip.

Enter and enter the password to log in.

The default port of ssh is 22, and no additional modification is needed.