当前位置:网站首页>Modify the ssh server access port number
Modify the ssh server access port number
2022-07-06 00:58:00 【sunday2018】
modify ssh Server access port number
General server ssh The default port is 22, We can modify the server ssh The configuration file , To modify the ssh Access the port number of the server
- Log in to the server command window
- With the editor (Vim,Emacs,Nano…) Open... On the server /etc/ssh/sshd_config file
- Search for
Port 22
, take 22 Change to the port number you want xxx - Restart the server ssh service ,
systemctl restart ssh
- Use it after modification ssh When you command the remote login server, you need to pass
-p
Parameter input the port number set by yourself , as followsssh -p [xxx] [email protected][IP]
边栏推荐
- Introduction of motor
- Arduino六足机器人
- KDD 2022 | EEG AI helps diagnose epilepsy
- Getting started with devkit
- Ubantu check cudnn and CUDA versions
- 看抖音直播Beyond演唱会有感
- 朝招金安全吗 会不会亏损本金
- China Taiwan strategy - Chapter 8: digital marketing assisted by China Taiwan
- Cf:d. insert a progression [about the insert in the array + the nature of absolute value + greedy top-down]
- MYSQL---查询成绩为前5名的学生
猜你喜欢
Mlsys 2020 | fedprox: Federation optimization of heterogeneous networks
MobileNet系列(5):使用pytorch搭建MobileNetV3并基于迁移学习训练
测试/开发程序员的成长路线,全局思考问题的问题......
[groovy] JSON serialization (jsonbuilder builder | generates JSON string with root node name | generates JSON string without root node name)
Cve-2017-11882 reappearance
The relationship between FPGA internal hardware structure and code
ubantu 查看cudnn和cuda的版本
Dede collection plug-in free collection release push plug-in
Cf:d. insert a progression [about the insert in the array + the nature of absolute value + greedy top-down]
Beginner redis
随机推荐
程序员成长第九篇:真实项目中的注意事项
A preliminary study of geojson
Four commonly used techniques for anti aliasing
KDD 2022 | 脑电AI助力癫痫疾病诊断
2020.2.13
MYSQL---查询成绩为前5名的学生
282. Stone consolidation (interval DP)
如何制作自己的機器人
Dynamic programming -- linear DP
Recoverable fuse characteristic test
从 1.5 开始搭建一个微服务框架——调用链追踪 traceId
What is the most suitable book for programmers to engage in open source?
cf:C. The Third Problem【关于排列这件事】
devkit入门
95后CV工程师晒出工资单,狠补了这个,真香...
vSphere实现虚拟机迁移
Dede collection plug-in free collection release push plug-in
可恢复保险丝特性测试
SAP Spartacus home 页面读取 product 数据的请求的 population 逻辑
cf:H. Maximal AND【位运算练习 + k次操作 + 最大And】