SSH 基础 连接到远程服务器 # 基本连接 ssh user@hostname # 指定端口 ssh -p 2222 user@hostname # 使用 IP 地址 ssh user@192.168.1.100 # 使用配置文件中的主机名 ssh myserver SSH 配置文件 (~