Skip to content

Commit

Permalink
Update scp.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
elg committed Jan 13, 2020
1 parent 6cb6644 commit 4f16d9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/user-side-usage/scp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ Pscp command tries to use SFTP protocol leading to this error:

.. code-block:: none
FATAL ERROR: Received unexpected end-of-file from server
FATAL ERROR: Received unexpected end-of-file from server
In order to use pscp with PaSSHport, consider using this syntax including "-scp" flag:

.. code-block:: none
pscp -scp -i "C:\path\to\sshkeys\my_private_key.ppk" "C:\path\to\file\totransfer.txt" passhport@my-passhport-server:TARGET_NAME//pah/to/copy
pscp -scp -i "C:\path\to\sshkeys\my_private_key.ppk" "C:\path\to\file\totransfer.txt" passhport@my-passhport-server:TARGET_NAME//pah/to/copy

0 comments on commit 4f16d9e

Please sign in to comment.