当前位置:网站首页>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]
边栏推荐
- MIT doctoral thesis | robust and reliable intelligent system using neural symbol learning
- Interview must brush algorithm top101 backtracking article top34
- Dedecms plug-in free SEO plug-in summary
- Set data real-time update during MDK debug
- Beginner redis
- Spark DF增加一列
- MYSQL GROUP_ The concat function realizes the content merging of the same ID
- Spark AQE
- Ubantu check cudnn and CUDA versions
- golang mqtt/stomp/nats/amqp
猜你喜欢
Pbootcms plug-in automatically collects fake original free plug-ins
Illustrated network: the principle behind TCP three-time handshake, why can't two-time handshake?
How to make your own robot
Convert binary search tree into cumulative tree (reverse middle order traversal)
Browser reflow and redraw
激动人心,2022开放原子全球开源峰会报名火热开启
Finding the nearest common ancestor of binary tree by recursion
ADS-NPU芯片架构设计的五大挑战
esxi的安装和使用
vSphere实现虚拟机迁移
随机推荐
Idea remotely submits spark tasks to the yarn cluster
看抖音直播Beyond演唱会有感
Dynamic programming -- linear DP
几百行代码实现一个 JSON 解析器
Folding and sinking sand -- weekly record of ETF
[simple implementation of file IO]
Cf:h. maximum and [bit operation practice + K operations + maximum and]
毕设-基于SSM高校学生社团管理系统
Logstash clear sincedb_ Path upload records and retransmit log data
Mobilenet series (5): use pytorch to build mobilenetv3 and learn and train based on migration
Spark AQE
CTF daily question day44 rot
golang mqtt/stomp/nats/amqp
95后CV工程师晒出工资单,狠补了这个,真香...
Introduction of motor
MobileNet系列(5):使用pytorch搭建MobileNetV3并基于迁移学习训练
Set data real-time update during MDK debug
Cglib dynamic agent -- example / principle
A preliminary study of geojson
Fibonacci number