阿里云 - 密钥对
阿里云密钥对管理
新建密钥对后绑定实例
将.pem文件放在 ~/.ssh文件中
将.pem文件权限设置为只读
chmod 400 ~/.ssh/new-ecs.pem
创建~/.ssh/config文件
1 | |
后续通过 ssh aliyun-ecs 登陆
远程拷贝文件
1 | |
阿里云 - 密钥对
http://example.com/2025/11/28/阿里云-密钥对/
阿里云密钥对管理
新建密钥对后绑定实例
将.pem文件放在 ~/.ssh文件中
将.pem文件权限设置为只读
chmod 400 ~/.ssh/new-ecs.pem
创建~/.ssh/config文件
1 | |
后续通过 ssh aliyun-ecs 登陆
远程拷贝文件
1 | |