Linuxä¸ä¿®æ¹ç«¯å£å·åªéè¦æ´æ¹ç¸åºæå¡çé
ç½®æ件å³å¯ï¼ä¸é¢ä»¥ä¿®æ¹linux çSSHæå¡çé»è®¤ç«¯å£å·22为ä¾ï¼æ22ä¿®æ¹æ2501ï¼ï¼
1ãä¿®æ¹/etc/ssh/sshd_configé
ç½®æ件
[root@localhost ssh]# more sshd_config
# $OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.
#Port 22 //å
æ22注éæ
port 2501 //æ·»å ä¸ä¸ªæ°ç端å£
#Protocol 2,1
2ãéå¯sshæå¡è®©ä¿®æ¹ç端å£å·çæ
[root@localhost ~]# service sshd restart
Stopping sshd:[ OK ]
Starting sshd:[ OK ]
温馨提示:内容为网友见解,仅供参考