download File or Folder from ssh server


On your “local system” run this command

scp ssh_username@ssh_server_url:file_name_or_folder_path destination_folder


example:

scp appatrip@admin.cms.appatrip.com:/var/lib/phpMyAdmin/save/appatrip.sql ./

Advertisements

I am Senior Software Engineer. I love reading, writing, sharing,developing, hiking, movies, trips, mountains, brooks, hills etc.

Tagged with: , , ,
Posted in ssh
One comment on “download File or Folder from ssh server
  1. For downloading a folder/directory you need to use -r like this:
    scp -r ssh_username@ssh_url:folder_path destination_folder

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

StackOverFlow
Categories
Archives
%d bloggers like this: