Using SCP to Copy a File from a Remote Host to your Local Host Example
In order to copy a file from a remote host with a non standard ssh port to your local host you need to format the command so the remote host is first like in the following syntax.
scp -P (port number) username@(hostname or ip):/directory/filename /local-directory/
Here is an example of how I used that command.
scp -P 222 firstname.lastname@example.org:/usr/src/src_code_latest.c /usr/src/