Downloads file from #SSH with rsync and puts it in current folder.
#!/bin/bashPORT=22USER=userHOST=example.comREMOTE_PATH=/tmpREMOTE_FILE=sample.textDEST_PATH=./rsync -a -e "ssh -p $PORT" -P -v \ "$USER@$HOST:$REMOTE_PATH/$REMOTE_FILE" \ "$DEST_PATH"