To copy a folder in the remote server to your local machine,
scp -r username@IPaddres:/remote/directory/path /local/folder/
In case you wish to copy in your current local directory
scp -r username@IPaddres:/remote/directory/path/ .
To copy a folder in the remote server to your local machine,
scp -r username@IPaddres:/remote/directory/path /local/folder/
In case you wish to copy in your current local directory
scp -r username@IPaddres:/remote/directory/path/ .