当前位置:网站首页>Some problems when SSH default port is not 22
Some problems when SSH default port is not 22
2022-06-30 21:37:00 【A big cat who wants to lie flat every day】
Recently at work , Meet a ssh The default port is 23245 Server for .
see ssh Default port
vim /etc/ssh/ssh_config
You can view through the above command config In the document Port Set to determine ssh Default port .
ssh and scp
When ssh Default port is not 22 When , We were using the scp and ssh It is necessary to specify port:
Default port 22 The default port for the server connection 23245 On the server :
ssh -p 23245 [email protected]
Default port 23245 The default port for the server connection 22 On the server :
ssh -p 22 [email protected]
From the default port 22 The server copies the contents to the default port 23245 On the server :
scp -P 23245 file [email protected]:dir
From the default port 23245 The server copies the contents to the default port 22 On the server :
scp -P 22 file [email protected]:dir
边栏推荐
- 网络营销之四大误解
- 的撒啊苏丹看老司机
- 攻防演练中的防泄露全家福
- Markdown notes concise tutorial
- Electronic scheme development - Intelligent rope skipping scheme
- Deployment and use of Nacos
- 1-17 express Middleware
- . NETCORE redis geo type
- 1-13 express listens to get and post requests & processes requests
- Text recognition svtr paper interpretation
猜你喜欢

全面认识痛风:症状、风险因素、发病机理及管理

What about degradation of text generation model? Simctg tells you the answer

申请Vector 总线协议彩图壁纸挂画,非常棒哦!

Apply for vector bus protocol color picture wallpaper hanging picture, very good!

Deployment and use of Nacos

clickhouse原生監控項,系統錶描述

Radar data processing technology

文本生成模型退化怎麼辦?SimCTG 告訴你答案

Jupyterbook clear console output

布隆过滤器
随机推荐
Iclr'22 spotlight | how to measure the amount of information in neural network weights?
Reading notes of Clickhouse principle analysis and Application Practice (3)
1-16 路由的概念
1-17 express Middleware
《ClickHouse原理解析与应用实践》读书笔记(3)
【无标题】
Phoenix architecture: an architect's perspective
1-3 using SQL to manage databases
Clickhouse Native Monitoring item, System table Description
1-11 create online file service
Test medal 1234
PyTorch量化实践(2)
Export El table as is to excel table
What happens when word encounters an error while trying to open a file?
.netcore redis GEO类型
ssh 默认端口不是22时的一些问题
12345
1-10 respond to client content according to different URLs
Digital currency: far-reaching innovation
Three techniques for reducing debugging time of embedded software