简体   繁体   中英

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? So that I can disable public access to 22 port.

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. The Azure Bastion service does what you're looking for, but is only available in a subset of regions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM