title: I want to describe that run the command after ssh connection in config file
body: <p>Describe the following in &quot;ssh config&quot; file , and I can ssh multiple stages to the prod server.</p>
  <pre><code>Host bastion.com
      HostName bastion.com
      User hoge.hoge
      IdentityFile ~/.ssh/hoge-ssh
      ForwardAgent yes
      AddKeysToAgent yes
      UseKeychain yes
  
  Host prod
      HostName prod
      User hoge.hoge
      ProxyCommand ssh -W %h:%p bastion.com
  </code></pre>
  <p>However, I run the following command every time after connected prod server.
  I want to automate this command.</p>
  <p><code>sudo su - admin</code></p>
  <p>How can I write in &quot;ssh config&quot; file to run this command automatically?</p>