今天客户有个很大的文件,有几个G, 我去机房,用网线,ping 通后:
cd /etc/ssh2
ls -lrt
(You will some ssh configuration file including : sshd2_config)
Step1:
vi sshd2_config
update below line:
Port 22
ListenAddress 200.200.200.1
execute below command:
/usr/sbin/sshd2
Step2:
cp sshd2_config sshd2_config_temp
update below line:
Port 62022
ListenAddress 200.200.200.1
execute below command:
(you can use : ps -ef | grep ssh to list all process)
/usr/sbin/sshd2 -f /etc/ssh2/sshd2_config_temp
Step3:
Using ssh tool: SecureCRT
Ensure:
1: Local pc's address: 200.200.200.X
2: Can ping 200.200.200.100
3: Can telnet 200.200.200.100
4: update the ssh configuration and setting via telnet
5: using port: 62022 when ssh connecting via SecuretCRT tool.

5万+

被折叠的 条评论
为什么被折叠?



