在 AWS 中部署没有 SSH 访问的 Jenkins Master-Slave

Deploying Jenkin's Master-Slave without SSH acess in AWS

有没有办法在主从配置中设置 Jenkins,其中主从无权通过 SSH 连接到从属?我几乎可以授予任何其他类型的访问权限。

我在 AWS 的上下文中询问,我宁愿不将 SSH 密钥对存储在主机安装的 EBS 上,即使是加密的,'security reasons'。

Is there a way I can setup Jenkins in Master-Slave configuration where the master slave has no permissions to SSH into the slaves? I can grant pretty much any other type of access.

最初,要在所有 3 台服务器上安装软件包,您需要通过 SSH 连接到所有服务器并进行设置。配置文件并将文件放在主从服务器上。 您可以按照以下内容进行操作:https://www.linkedin.com/pulse/setting-up-jenkins-master-slave-architecture-shashikant-jagtap

我理解您的担忧,但这只是您需要做的最低限度的事情。如果您担心,您可以更改服务器的 SSH 端口,同时将密钥保留在主服务器上,为此您可以按照以下步骤操作: https://in.godaddy.com/help/changing-the-ssh-port-for-your-linux-server-7306

如果您还需要什么,请告诉我。