Linux - Modifying SSH Login Commands

Linux - Modifying SSH Login Commands


To modify the SSH login password, you only need to log in to SSH, and then enter the command. The software used for login here is:xshell

xshell-login.png-32.3kB

Enter the command after logging into the terminal

passwd {用户名}

to make changes. It should be noted that the entered password will not be replaced by asterisks and will not appear in clear text.

If you want to modify the SSH login port, for example, to 1433, you only need to execute the following command:

/usr/sbin/sshd -p 1433

References:

  1. https://yq.aliyun.com/ziliao/77118

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325951029&siteId=291194637