<p>I'm trying to SSH into AKS windows node using this <a href="https://learn.microsoft.com/en-us/azure/aks/ssh" rel="nofollow noreferrer">reference</a> which created debugging Linux node, and ssh into the windows node from the debugging node. Once I enter the Linux node and try to SSH into the windows node, it asks me to type in azureuser password like below:</p>
<pre><code>azureuser@10.240.0.128's password:
Permission denied, please try again.
</code></pre>
<p>What is <code>azureuser@(windows node internal IP address)'s</code> password? Is it my azure service password or is it a <code>WindowsProfileAdminUserPassword</code> that I pass in when I create an AKS cluster using <code>New-AzAksCluster</code> <code>cmdlet</code>? Or is it my ssh keypair password? If I do not know what it is, is there a way I can reset it? Or is there a way I can create a Windows node free from credentials? Any help is appreciated. Thanks ahead!</p>

yunlee
<p>It looks like you're trying to login with your password, not your ssh key. Look for the <a href="https://www.thorntech.com/passwords-vs-ssh/" rel="nofollow noreferrer">explanation</a> between those methods. These are two different authentication methods. If you want to ssh to your node, you need to chose ssh with key authentication. You can do this by running the command:</p>
<pre><code>ssh -i &lt;id_rsa&gt; azureuser@&lt;your.ip.adress&gt;
</code></pre>
<p>But before this, you need to create key pair. It is well done described in <a href="https://learn.microsoft.com/en-us/azure/aks/ssh#before-you-begin" rel="nofollow noreferrer">this section</a>. Then you can <a href="https://learn.microsoft.com/en-us/azure/aks/ssh#create-the-ssh-connection-to-a-linux-node" rel="nofollow noreferrer">create the SSH connection to a Linux node</a>. You have everything described in detail, step by step, in the documentation you provide.</p>
<p>When you configure everything correctly, you will be able to log into the node using the ssh key pair. You won't need a password. When you execute the command</p>
<pre><code>ssh -i &lt;id_rsa&gt; azureuser@&lt;your.ip.adress&gt;
</code></pre>
<p>you should see an output like this:</p>
<pre><code>The authenticity of host '10.240.0.67 (10.240.0.67)' can't be established.
ECDSA key fingerprint is SHA256:1234567890abcdefghijklmnopqrstuvwxyzABCDEFG.
Are you sure you want to continue connecting (yes/no)? yes

[...]

Microsoft Windows [Version 10.0.17763.1935]
(c) 2018 Microsoft Corporation. All rights reserved.
</code></pre>
<p>When you see <code>Are you sure you want to continue connecting (yes/no)?</code> you need to write <code>yes</code> and confirm using <code>Enter</code>.</p>
