amazon-web-services - What is the correct way to SSH into a AWS Windows 10 machine from the Windows 10 Command Line?
问题描述
I have been working on SSHing into an Ubuntu, AWS Linux 2, and AWS Windows servers. Though I am having trouble with Windows effort in the Windows Command Line. I know SSH should work on Windows 10 and I prefer not to involve PuTTY.
Q) What am I missing from my samples below that would help SSH from my Windows Command Line into a AWS Windows 10 Server?
Linux-2:
ssh -i /path/my-key-pair.pem ec2-user@ec2-999-99-999-9.compute-1.amazonaws.com/ ec2-user@99.999.999.99
- Format:
ssh -i /path/XYZ.pem (PEM Key with path) ec2-user @(User ID for Linux 2) IP 4 Address
- Format:
Ubuntu:
ssh -i /path/my-key-pair.pem ubuntu@ec2-99-999-999-99.compute-1.amazonaws.com/ ubuntu@99.999.999.99
- Format:
ssh -i /path/XYZ.pem (PEM Key with path) Ubuntu @(User ID for Ubuntu) IP 4 Address
- Format:
I believe my problem lies with my default User ID for Windows (Administrator@99.999.999.99
), but I am not sure.
解决方案
推荐阅读
- go - 如何避免翻译舵图的一些`{{`?
- google-bigquery - 在使用 array_agg 创建数组之前过滤表达式
- db2 - DB2 分区和队列复制
- c - 用于 OSX 检测的 C 预处理器是否适用于 Mojave?
- php - 通过 CNAME 设置新的白标服务时出现问题
- python - 为什么 Python for 循环在遍历列表副本并进行删除时会跳过元素?
- vue.js - 将 vuejs 与现有的 html 一起使用
- javascript - 电子应用程序中是否有可用的网格视图模块/组件?
- rstudio - mutate() 和 str_replace() 函数
- php - 为 Symfony 翻译组件自动添加翻译标签到 Twig