Can Azure Bastion Host be configured for unattended ssh logins?

us flag

Can bastion hosts be setup for unattended ssh logins?

I've not been able to find anything in the documentation. All I see is that a user goes to the Azure portal and connects through the portual UI over 443. Nothing to indicate that public SSH(22) access is available.

Possible use cases:

  • DevOps Pipeline
  • Cron Job Script
  • Scheduled Backup script
Noor Khaldi avatar
br flag
Your point of entry to SSH is the Azure Portal, don't think that's be the best way to do it.
ng flag

No, Bastion is purely a portal based UI feature, there is no API you can use to programmatically get SSH access.


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.