download a folder from ssh server code example Example: download folder ssh command line other ssh scp -r username@remote:/path/to/folder /dest/local/path