To download file from server using ssh, using the command:
$ scp user@hostname:file local-directory
example:
$ scp pi@192.168.111.109:~/log1 ~/PiLog
where pi is user name in server with IP 192.168.111.109, copy ~/log1 from server to local directory ~/PiLog.
scp |