首页 > 编程知识 正文

ssh登录windows云服务器,ssh连接云服务器

时间:2023-05-03 18:42:53 阅读:221531 作者:1021

1:使用 XShell登录 网友提供的很详细 参考 https://jingyan.baidu.com/article/a3a3f811d5fc338da2eb8a00.html红帽的用户名 ec2-usercentos 的用户名是 root 2:使用SecureCRTPortable 登录 与XShell不同 ,XShell可以直接使用亚马逊提供的 ***.pem 文件,SecureCRT需要转为***.pub文件 [root@cent32 tem]# chmod og-r server.pem [root@cent32 tem]# ssh-keygen -p -f server.pem Key has comment 'server.pem'Enter new passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved with the new passphrase.[root@cent32 tem]# ssh-keygen -e -f server.pem >>server.pem.pub[root@cent32 tem]# lsserver.pem server.pem.pub[root@cent32 tem]# sz server.pem.pub [root@cent32 tem]# 完成上述操作后,如下图描述


红帽系统使用 最近使用红帽系统发现不是root用户,使用了 sudo -s 才切回root 后记 菜鸟的我写给自己,当做个笔记。 参考

https://jingyan.baidu.com/article/a3a3f811d5fc338da2eb8a00.html
http://blog.csdn.net/pkueecser/article/details/18458587
https://www.question-defense.com/2009/10/01/convert-amazon-web-services-private-rsa-key-for-use-with-securecrt
http://blog.csdn.net/f59130/article/details/74014415

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。