class="w"> </span>nmcli<span class="w"> </span>r<span class="w"> </span>wifi<span class="w"> </span>on
sudo<span class="w"> </span>nmcli<span class="w"> </span>dev<span class="w"> </span>wifi<span class="w"> </span>list
sudo<span class="w"> </span>nmcli<span class="w"> </span>--ask<span class="w"> </span>dev<span class="w"> </span>wifi<span class="w"> </span>connect<span class="w"> </span>&lt;SSID&gt;
</pre></div>
</div>
<p>By default, password-based SSH is allowed. To disable this and only allow key-based 