zoukankan      html  css  js  c++  java
  • 使用SecureCRT连接AWS EC2

    AWS提供的XXX.pem文件, 如果使用Ubuntu等linux系统,直接使用ssh命令即可访问AWS上的Linux-EC2实例。

    $ ssh -i XXX.pem ec2-user@{IP/hostname}

    在Windows系统上就需要使用SecureCRT,Putty等工具,进行连接。但是AWS提供的XXX.pem文件,不能直接在这些工具里使用,需要做一些处理,才可以。
    下面说明一下,SecureCRT的方法, 使用XXX.pem文件生成公钥文件XXX.pem.pub

    $ ssh-keygen -y -f XXX.pem > XXX.pem.pub

    打开会话选项,在 分类 中选择 SSH2,在右边的 身份验证 中选择 公钥(PublicKey),然后点击旁边的 属性(Properites),选择 使用会话公钥设置(Use session public key setting),在 使用身份文件(Use identify file) 的输入框中,选择刚才下载回来的 id_dsa,注意,id_dsa 和 id_dsa.pub 要保存在一起(两个文件取名任意,但必须符合 somekey 和 somekey.pub)

  • 相关阅读:
    eventkeyboardmouse
    代理 IP
    网关 192.168.2.1 114.114.114.114 dns查询
    http ssl
    SSDP 抓包
    抓包登录信息提交
    危险的input 微博的过去
    firstChild.nodeValue
    浏览器控制台
    haproxy 中的http请求和https请求
  • 原文地址:https://www.cnblogs.com/milton/p/4883171.html
Copyright © 2011-2022 走看看