0

Linux常用命令-22:ssh

 1 year ago
source link: https://xugaoxiang.com/2022/06/06/linux-cmds-22-ssh/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

ssh 命令是 openssh 套件中的客户端连接工具,可以实现对服务器的远程管理,服务器端默认使用端口22。

语法格式: ssh [参数] [远程主机]

常用参数:

fbf95323dfefb86f.png
# 以当前系统用户登录远程主机
ssh 192.168.1.100

# 指定用户登录远程主机
ssh -l test 192.168.1.100
# 或者
ssh [email protected]

# 指定远程端口登录
ssh -p 1024 [email protected]

常见的 ssh 客户端工具有 puttymobaxterm


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK