简体   繁体   English

如何使用云外壳来保护对 Azure VM 的 ssh 访问?

[英]How to use cloud shell to secure ssh access to Azure VMs?

Is it possible to ssh to Azure VMs using cloud shell ONLY in order to enhance security?是否可以仅使用 cloud shell ssh 到 Azure VM 以增强安全性? So that I can disable public access to 22 port.这样我就可以禁用对 22 端口的公共访问。

No you can't do that.不,你不能那样做。 The cloud shell could have a different public ip address every time you use it, so you won't be able to setup a Network Security Group to allow cloud shell to ssh to your VM.每次使用云外壳时,它都可能具有不同的公共 IP 地址,因此您将无法设置网络安全组以允许云外壳通过 ssh 连接到您的 VM。 The Azure Bastion service does what you're looking for, but is only available in a subset of regions. Azure Bastion 服务可满足您的需求,但仅在部分区域可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Azure Cloud Shell中指定SSH私钥 - Specify SSH private key in Azure Cloud Shell Azure:有什么用,如何将多个VM部署到一个Cloud Service中? - Azure: What is the use, and how could even work deploying multiple VMs to one single Cloud Service? 如何找到@username以将SSH隧道传输到Azure Databricks之后的VM - How to find @username for tunneling SSH to the VMs behind Azure Databricks Azure云中的VM是否随应用程序一起部署? - Are VMs in Azure Cloud deployed with the App? 如何从部署管道内的 Azure DevOps 安全文件访问 SSH 证书? - How to access SSH certificates from Azure DevOps Secure Files inside deployment pipeline? 如何保护对 azure 应用程序的访问 - How to secure access to the azure application SSH无法用于MS Azure中的某些VM - SSH is not working for some VMs in MS Azure 如何使用SSH预配置Azure Windows映像以与Azure Cloud上的Jenkins Windows Agents一起使用 - How to preconfigure Azure Windows image with SSH to use with Jenkins Windows Agents on Azure Cloud 如何在Azure虚拟网络中访问私有VM - How to access private VMs within an azure virtual network 如何使用云外壳 SSH 进入 AKS 集群并测试内部 AKS 的连接 - How to use cloud shell SSH into AKS Cluster and test the connection from AKS inside
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM