当前位置:网站首页>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
边栏推荐
猜你喜欢

jupyterbook 清空控制台输出

Radar data processing technology
Understand what MySQL index push down (ICP) is in one article

asp.net core JWT传递

Icml2022 | utility theory of sequential decision making

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

根据肠道微生物组重新思考健康饮食

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

Double solid histogram / double y-axis

文本生成模型退化怎麼辦?SimCTG 告訴你答案
随机推荐
jupyterbook 清空控制台输出
测试媒资缓存问题
pytorch geometric torch-scatter和torch-sparse安装报错问题解决
.netcore redis GEO类型
Two skylines
你我他是谁
NCAT detailed introduction (Reprint)
银行集体下架的智能投顾产品,为何成了“鸡肋”?
Is it safe to open an account for stock trading on mobile phones?
ceshi deces
CA I ah, how many times Oh, ah sentence IU home Oh 11111
激发新动能 多地发力数字经济
Internet of things botnet gafgyt family and backdoor vulnerability exploitation of Internet of things devices
Auto-created primary key used when not defining a primary key
做一个 Scrollbar 的思考
sdfsdf
Auto-created primary key used when not defining a primary key
全面认识痛风:症状、风险因素、发病机理及管理
笔记【JUC包以及Future介绍】
clickhouse原生監控項,系統錶描述