当前位置:网站首页>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博士论文 | 使用神经符号学习的鲁棒可靠智能系统
- [groovy] XML serialization (use markupbuilder to generate XML data | set XML tag content | set XML tag attributes)
- Fibonacci number
- CTF daily question day44 rot
- 面试必刷算法TOP101之回溯篇 TOP34
- The growth path of test / development programmers, the problem of thinking about the overall situation
- RAID disk redundancy queue
- GNSS terminology
- KDD 2022 | EEG AI helps diagnose epilepsy
- 看抖音直播Beyond演唱会有感
猜你喜欢
KDD 2022 | EEG AI helps diagnose epilepsy
Dede collection plug-in free collection release push plug-in
[groovy] XML serialization (use markupbuilder to generate XML data | create sub tags under tag closures | use markupbuilderhelper to add XML comments)
Exciting, 2022 open atom global open source summit registration is hot
关于#数据库#的问题:(5)查询库存表中每本书的条码、位置和借阅的读者编号
cf:D. Insert a Progression【关于数组中的插入 + 绝对值的性质 + 贪心一头一尾最值】
Starting from 1.5, build a micro Service Framework - call chain tracking traceid
Browser reflow and redraw
猿桌派第三季开播在即,打开出海浪潮下的开发者新视野
MySQL storage engine
随机推荐
The relationship between FPGA internal hardware structure and code
servlet(1)
KDD 2022 | EEG AI helps diagnose epilepsy
Ubantu check cudnn and CUDA versions
esxi的安装和使用
I'm interested in watching Tiktok live beyond concert
程序员搞开源,读什么书最合适?
The population logic of the request to read product data on the sap Spartacus home page
Spark-SQL UDF函数
Cf:h. maximum and [bit operation practice + K operations + maximum and]
Hundreds of lines of code to implement a JSON parser
关于#数据库#的问题:(5)查询库存表中每本书的条码、位置和借阅的读者编号
[groovy] compile time metaprogramming (compile time method injection | method injection using buildfromspec, buildfromstring, buildfromcode)
DD's command
可恢复保险丝特性测试
详细页返回列表保留原来滚动条所在位置
The value of applet containers
MIT doctoral thesis | robust and reliable intelligent system using neural symbol learning
毕设-基于SSM高校学生社团管理系统
Model analysis of establishment time and holding time