Pinvon's Blog

所见, 所闻, 所思, 所想

登录云服务器

腾讯云

本地Linux 远程Linux

创建SSH密钥

控制台 - SSH密钥 - 创建密钥

下载私钥

创建私钥后, 自动下载.

绑定云服务器

右键选择刚创建的密钥, 选择绑定云主机.

使用私钥登录

为安全起见, 私钥不应该公开可见, 只有SSH才能工作.

chmod 400 /path/to/priv-key

登录:

ssh -i /path/to/priv-key hostname@ip
# 如
ssh -i ~/pinvon_priv_key ubuntu@119.xxx.xxx.xxx

Comments

使用 Disqus 评论
comments powered by Disqus