& Nbsp; In Linux, modify the ssh Port 22vi/etc/ssh/ssh_configvi/etc/ssh/sshd_config and change it to port8888. use putty as root servicesshdrestart (redhatas3, in Port 8888Linux, the default SSH port is 22. to ensure security, modify
Modify ssh port 22 in Linux
Vi/etc/ssh/ssh_config
Vi/etc/ssh/sshd_config
Then, change the value to port 8888.
Service sshd restart (redhat as3) as root)
Use putty, port 8888
In Linux, the default SSH port is 22. for security reasons, modify the SSH port to 1433 as follows:
/Usr/sbin/sshd-p 1433
To enhance security
First, add a user with normal permissions:
# Useradd uploader
# Passwd uploader
// Set the password
The production machine prohibits ROOT remote SSH login:
# Vi/etc/ssh/sshd_config
Set
PermitRootLogin yes
Change
PermitRootLogin no
Restart sshd service
# Service sshd restart
For remote management, use uploader as the common user to log on, and then use su root to switch to the root user to obtain the highest permission.