Linux-SSH协议及其应用

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/CSDN_FlyYoung/article/details/89150410

SSH密码登录

ssh user@host					# 通过ssh协议,使用用户user登录host对应主机

example:
	ssh [email protected]		# 通过ssh协议,使用用户fly登录IP为192.168.25.135对应的主机

在这里插入图片描述

参考文档

鸟哥的Linux私房菜-服务器架设篇(第三版) 11.2.3 ssh 客户端联机程序 - Linux 用户

SSH免密登录

SSH端口转发

## 通过ssh隧道进行本地端口转发
## 通过第三方主机uat.quantcode.com.cn, 将本机3306端口连接到localhost(相对于uat.quantcode.com.cn)主机的3306端口
ssh -i /home/cx4gxf/IdeaProjects/cxserver_id-rsa -N -L 3306:localhost:3306 [email protected]

SSH隧道与端口转发及内网穿透

SSH文件传输

利用ssh传输文件
Linux-SSH传输文件

Other

Linux ssh 重启无效

猜你喜欢

转载自blog.csdn.net/CSDN_FlyYoung/article/details/89150410
今日推荐