title: sudo su - immediately after SSH
body: <p>I have this SSH config file for root:</p>
  
  <pre><code>User    ansible
  StrictHostKeyChecking no
  UserKnownHostsFile=/dev/null
  PermitLocalCommand yes
  LocalCommand='/bin/sudo /bin/su -'
  IdentityFile    /root/.ssh/ansible_onlinux
  </code></pre>
  
  <p>(FYI I've tried with ' " without anything, same issue)
  When I ssh to the server I got this error.</p>
  
  <pre><code>/bin/bash: /bin/sudo: No such file or directory
  </code></pre>
  
  <p>However if I run the command on the machine it works.
  Where is the problem?</p>
  
  <p>I want to ssh from my ubuntu on windows (WSL) to a centos server.</p>