title: Linux scp command not working with a specified port
body: <p>I'm using   </p>
  
  <pre><code> scp -r -P 10122 -i /home/gndp/.ssh/openssh.puk gndp@localserver.com:~/folder/subfolder gndp@192.168.1.197:/home/gndp/
  </code></pre>
  
  <p>it says:</p>
  
  <pre><code>ssh: connect to host "localhost" port 22: Connection refused
  </code></pre>
  
  <p>192.168.1.197 connects to remote website</p>
  
  <p>am i missing something?</p>
  
  <p>i've also tried</p>
  
  <pre><code>scp -r -P10122 -i /home/gndp/.ssh/openssh.puk gndp@localserver.com:~/folder/subfolder gndp@192.168.1.197:/home/gndp/
  </code></pre>
  
  <p>with same error</p>