linux下显示中文目录和文件名
616 2023-04-03 06:23:34
Linux修改ssh端口22
vi /etc/ssh/ssh_config
vi /etc/ssh/sshd_config
然后修改为port 8888
以root身份service sshd restart (redhat as3)
使用putty,端口8888
Linux下SSH默认的端口是22,为了安全考虑,现修改SSH的端口为1433,修改方法如下 :/usr/sbin/sshd -p 1433
为增强安全
#useradd uploader
#vi /etc/ssh/sshd_config
把
PermitRootLogin yes
改为
PermitRootLogin no
#service sshd restart