<p>I just deployed a managed Kubernetes cluster with Azure Container Service. My deployment includes a single agent machine over the managed cluster and an Azure disk attached to it for persistent storage.</p>

<p>The problem I am facing is that I don't know how to ssh this agent server. I read that you should be able to ssh the master node and connect to the agent from there but as I am using a managed Kubernetes master I can't find the way of doing this.</p>

<p>Any idea? Thank you in advance.</p>

<blockquote>
  <p>The problem I am facing is that I don't know how to ssh this agent
  server.</p>
</blockquote>

<p>Do you mean you create AKS and can't find master VM?</p>

<p>If I understand it correctly, that is a by design behavior, AKS does <strong>not</strong> provide direct access (Such as with SSH)  to the cluster.</p>

<p>If you want to SSH to the agent node, as a workaround, we can create <strong>a public IP address</strong> and <strong>associate</strong> this public IP address to the agent's NIC, then we can SSH to this agent.</p>

<p>Here are my steps:</p>

<p>1.<strong>Create</strong> Public IP address via Azure portal:</p>

<p><a href="https://i.stack.imgur.com/PU5kb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/PU5kb.png" alt="enter image description here"></a></p>

<p>2.<strong>Associate</strong> the public IP address to the agent VM's NIC:</p>

<p><a href="https://i.stack.imgur.com/NFym7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/NFym7.png" alt="enter image description here"></a></p>

<p>3.<strong>SSH</strong> to this VM with this public IP address:</p>

<p><a href="https://i.stack.imgur.com/lDLa6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lDLa6.png" alt="enter image description here"></a></p>

<p>Note:</p>

<p>By default, we can find ssh key when we try to create AKS, like this:</p>

<p><a href="https://i.stack.imgur.com/BOiz0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BOiz0.png" alt="enter image description here"></a></p>
