gpt4 book ai didi

powershell - 通过 Jumpbox 登录 Azure Vmss

转载 作者:行者123 更新时间:2023-12-03 01:47:41 25 4
gpt4 key购买 nike

我在 Azure 上部署了 SSH 保护的 Vmss。我使用 SSH key 使用 Putty 登录 Jumpbox(Azure 上的 VM,与 Vmss 具有相同的虚拟和子网)。如何通过我的 Jumpbox 登录我的 Vmss?

My .ssh jumpbox content and you can check my id_rsa files here

My Vmss back end pool Ip address

最佳答案

如果我的理解是正确的,您希望通过 Jumpbox VM ssh 到您的 VMSS 实例。

如果想执行此操作,根据您的描述,您的 jumbox VM 和 VMSS 实例位于同一 Vnet 中,您可以使用私有(private) IP ssh 到您的实例。您可以在 Azure 门户上找到私有(private) IP。 <Your resource group>-->VMSS load balancer-->Settings-->Backend Poolsenter image description here

您还需要将 ssh 私钥复制或上传到 Jumpbox VM。然后您可以使用以下命令 ssh 您的实例。

ssh -i id_rsa user@private IP

关于powershell - 通过 Jumpbox 登录 Azure Vmss,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44276148/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com