SSH到AWS实例没有密钥对 [英] SSH to AWS Instance without key pairs

查看:3544
本文介绍了SSH到AWS实例没有密钥对的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1:有没有办法登录到AWS实例,而无需使用密钥对?我想建立一个对​​夫妇的网站/用户的单一实例。但是,我不想给出密钥对客户端进行登录。

1: Is there a way to log in to an AWS instance without using key pairs? I want to set up a couple of sites/users on a single instance. However, I don't want to give out key pairs for clients to log in.

2:什么是建立托管网站/用户在不同的域指向分隔目录1 AWS实例的最简单的方法

2: What's the easiest way to set up hosting sites/users in 1 AWS instance with different domains pointing to separate directories?

推荐答案

1),你应该能够更改SSH配置(在Ubuntu,这是典型的的/ etc / ssh的的/ etc / sshd的),并重新启用密码登录。

1) You should be able to change the ssh configuration (on Ubuntu this is typically in /etc/ssh or /etc/sshd) and re-enable password logins.

2)有没有什么具体的AWS这个 - Apache可以处理虚拟主机(虚拟主机)外的开箱即用 - 允许你指定一个特定的域是从某一个目录服务。我倒是谷歌认为有关具体的详细信息。

2) There's nothing really AWS specific about this - Apache can handle VHOSTS (virtual hosts) out-of-the-box - allowing you to specify that a certain domain is served from a certain directory. I'd Google that for more info on the specifics.

这篇关于SSH到AWS实例没有密钥对的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆