XMPP JavaScript Library

File transfer using SSH (SCP)

Linux, Sachin Puri, 2011-09-08 15:24:22

Files can be transferred using ftp server. FTP is most common way to transfer files between servers. But FTP is not secure as it sends username and password using simple text.

 
To transfer files securely we can make use of SCP command. SCP stands for Secure Copy Secure (CP). Using SCP we can transfer files between two remote servers or between remote and local server.
 

Syntex:

scp username@from-server:<path-to-file> username@to-server:<path-to-file>

 

Where,

 

username = username of user who has right to access the server

from-server = Server from which file is to be transfered.

path-to-file = is the absolute path of file 

to-server = server where file is to be transfered

 

Examples

 

1) scp root@server.com:/home/user1/file1.txt file1.txt

here we are copying file1.txt from server.com server and the username of server.com is root

2) scp *.txt root@server.com:/home/user1

here we are copying all text files in current directory to server.com's /home/user1 directory

3) scp -r root@server1.com:/home/user1 root@server2.com:/home/user1

here we are copying all file recursively from server1.com's /home/user1 to server2.com's /home/user1

 

Requirements: -

open-ssh

Add Your Comment
   
    Yes! I want to receive all comments by email

  by Pure Life Keto on 20-May-2019 04:26 pm
There is occurrence of tilting in one side. It occurs during the growing age just before Pure Life Keto puberty. Most of the cases are not painful but people with severe scoliosis can feel pain and discomfort.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by ดูหนังออนไลน์ on 20-May-2019 02:32 pm
With thanks for any awesome site. That it was pretty helpful to do. I'm just joyful I uncovered the following weblog. I actually very continually master a little ดูหนังออนไลน์ something innovative through the posting. This is certainly this sort of excellent aid you're giving and you simply present them at a distance for nothing. Everyone loves witnessing site this have an understanding of the additional value with delivering a top quality aid for nothing.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by IBM SEO on 20-May-2019 02:04 pm
Thank you very much for this useful article. I like it. answer and questions
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Keto 6x on 18-May-2019 04:38 pm
Just fix a strip of it to the skin where the hairs are embedded, press, lift off one end Keto 6x and pull sharply - presto, all the bristles come out and the itching soon subsides.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by cheap_cialis on 18-May-2019 03:09 pm
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by cheap on 18-May-2019 08:08 am
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by viagra_cheap on 18-May-2019 03:48 am
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by IBM SEO on 17-May-2019 01:06 pm
A debt of gratitude is in order for sharing the information, keep doing awesome... I truly delighted in investigating your site. great asset... voyance par téléphone
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Karen Flores on 16-May-2019 06:49 pm
Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers! locksmith Salt Lake City Utah
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Peter Washington on 15-May-2019 02:12 pm
Great article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks Auto Insurance Marble Falls
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by phalogenics on 13-May-2019 04:45 pm
Phalogenics - in fact, no milk and ice-creams and milk based desserts. https://www.foodiespanda.com/phalogenics/
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Phalogenics on 13-May-2019 04:43 pm
Phalogenics no sugar or sweets, no breads and cakes, no beans and lentils
  • Reply
  •  1 Like
  •  0 Dislike
  • Report
  by ukpravite on 13-May-2019 03:42 pm
Nice blog, I will keep visiting this blog very often. mobil tetbiqetme
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by IBM SEO on 13-May-2019 12:20 pm
A debt of gratitude is in order for sharing the information, keep doing awesome... I truly delighted in investigating your site. great asset... techofist.com
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by viagra_cheap on 13-May-2019 07:59 am
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by viagra on 12-May-2019 07:24 pm
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Maxwell Keto on 11-May-2019 04:22 pm
The best are ones that are straight from the farm and very fresh. When the shell is thicker, Maxwell Keto then it should tell you that you will get even more nutrients.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by IBM SEO on 11-May-2019 11:07 am
Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine. BISE Board Matric Result
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by BISE Board Matric Result on 11-May-2019 11:07 am
Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine.
  • Reply
  •  0 Like
  •  2 Dislike
  • Report
  by 릴게임 on 11-May-2019 10:46 am
This is training content and articles and additionally developed certainly in a transformation. It will be excellent to work out which usually some folk yet learn how to come up with a top notch content. I stubled onto a web site 릴게임 ideal for great really needs. Now i'm quite happy to inspect your site. Document determine your site all the time and additionally make sure you uncover an issue within your web page. With thanks and additionally waiting around for your current content.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by 123.hp.com/setup on 10-May-2019 11:47 pm
Call Now and get Instant HP Printer Setup and Install Help from 123.hp.com/setup The most effective method to introduce Drivers , Wireless Setup by 123.hp.com/setup
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by How To Turn Off Cortana on 10-May-2019 03:15 pm
This post is reasonably useful in addition to How To Turn Off Cortana My business is eager for examining far more of this threads. You could have definitely propagated some sort of beneficial in addition to useful post. Appreciate it intended for giving this data.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Keto Zen on 09-May-2019 04:45 pm
it is very important to ensure that they get all the necessary nutrients during this very Keto Zen important juncture of life.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by teeth whitening Fulham on 09-May-2019 01:27 pm
This informative article is teeth whitening Fulham effective for me personally to learn more information about how precisely to get ready to get a selection. The following the normal factor in which we must take into account and also the way to reply to each and every top quality are usually contributed. Thank you because of this useful matter.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by canadian_viagra on 09-May-2019 07:20 am
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by buy_viagra on 08-May-2019 08:27 pm
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Custom Printed Boxes on 08-May-2019 06:46 pm
Thanks for such a great post and the review, I am totally impressed! Keep stuff like this coming. Thank you For Sharing This Information...
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Custom Packaging Boxes UK on 08-May-2019 05:27 pm
I wanted to thank you for this great read!! This is a wonderful article, Given so much info in it, I definitely enjoying every little bit!! These type of articles keeps the user's interest in the website, and keep on sharing more ... good luck.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by ukpravite on 08-May-2019 05:21 pm
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. techvig.net/outlook-login/
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Organa Keto on 08-May-2019 04:22 pm
Ideas include brisk walking, cardio, skipping rope, small space exercises, and light calisthenics. Next, perform joint rotations, such as shoulder circling. Organa Keto This helps lubricate your joints with synovial fluid and increase blood flow to the muscles.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Custom Stickers Printing UK on 08-May-2019 04:11 pm
The superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place. and thank you for sharing for the amazing article...
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by cialis_online on 08-May-2019 01:54 pm
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Custom Stickers Printing on 07-May-2019 06:38 pm
This is also a very good post which I really enjoyed reading. This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog. and Thank you For Sharing...
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Sticker Zone on 07-May-2019 04:56 pm
I have read your article; it is very informative and helpful for me. I admire the valuable information you offer in your articles. Thanks for posting it.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by best women crossfit shoes on 07-May-2019 03:51 pm
Some forms of exercise will require certain apparel. Bring a workout towel with you best women crossfit shoes if needed, and stay hydrated, especially when exercising outside in hot weather.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Craft Boxes on 07-May-2019 03:30 pm
I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by online_viagra on 07-May-2019 06:28 am
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Sticker Printing Press on 06-May-2019 06:07 pm
I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really that good.Thanks alot!
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Healthy Keto Nation on 06-May-2019 05:15 pm
many times it is seen that losing weight can be a lot more difficult, and in that case, one can take help of some of the best weight loss drugs. Healthy Keto Nation One such weight loss drug is phentermine, and it is used along with a regular diet which is strict on sugar and fat and daily exercise.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by ukpravite on 06-May-2019 04:26 pm
Hey, I am so thrilled I found your blog, I am here now and could just like to say thank for a tremendous post and all round interesting website. Please do keep up the great work. I cannot be without visiting your blog again and again. yeh rishta kya kehlata hai episode
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by buy instagram followers on 05-May-2019 11:16 pm
You completely match our expectation and the variety of our information. buy instagram followers
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by buy instagram followers on 05-May-2019 11:15 pm
You completely match our expectation and the variety of our information.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by webxo.ir on 05-May-2019 11:32 am
I actually love upon themes you webxo.ir actually posting listed here. With thanks to get spreading united states an awesome information and facts that is definitely essentially handy. I actually take a look at your website on a daily basis plus aim to master a little something through the site. Thanks a ton plus watching for your own posting.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Custom Packaging Boxes UK on 04-May-2019 09:21 pm
Really your article is very helpful for me I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Enhanced Keto on 04-May-2019 04:41 pm
Begin stretching after joint rotations. Only stretch to the mild to moderate discomfort. Enhanced Keto Pain is a sign that something.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by buy_viagra on 04-May-2019 04:30 am
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by 123 hp com setup on 04-May-2019 02:09 am
Thank you such a great blog! Dial our HP Printer support Phone Number +1-844-802-7535 for support if you are getting issues with HP Printer get instant solution.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Keto Genic Accelerator on 02-May-2019 04:55 pm
This is because cardiovascular workouts used alone might take some time for the results KetoGenic Accelerator to begin reflecting. Having said that, with the combined weight lifting the effect simply increases and you start experiencing results a lot quicker.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by ukpravite on 02-May-2019 03:27 pm
Type your comment...Hey, this day is too much good for me, since this time I am reading this enormous informative article here at my home. Thanks a lot for massive hard work. movies123
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by viagra_cheap on 02-May-2019 03:05 pm
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Best Underwater Cameras on 01-May-2019 05:15 pm
If you like to monitor your heart rate, you will need to see if it has wireless heart rate monitoring. It will make your life a lot easier and allow you Best Underwater Cameras to keep tabs on each workout you do. You will find this to be an ideal way to gauge your progress and ensure you are moving forward so don't overlook it.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Annie Smith on 30-Apr-2019 10:34 pm
Thank you such a great blog! Dial our HP Printer support Phone Number +1-844-802-7535 for support if you are getting issues with HP Printer get instant solution. 123 hp setup
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by 릴게임 on 30-Apr-2019 07:02 pm
This is an amazingly brilliant blog section. You have genuinely shared an informative and charming online 릴게임 journal passage. This kind of information accommodating for me and examining to straightforward. We are amazingly grateful for your blog passage. An obligation of appreciation is all together for the offer.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Asad on 30-Apr-2019 05:35 pm
I might suggest solely beneficial in addition to trusted facts, and so find it: buy amazon stealth account
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Biotech Pro on 30-Apr-2019 03:38 pm
we are dealing with robots on a daily basis. However, robotics will see massive evolution in Biotech Pro the form of hardware technology and smart intelligence over the upcoming years.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Nek on 30-Apr-2019 09:44 am
Brilliant tip coming from an expert! Thank you for sharing. http://www.lasvegasgaragedoorrepair.net/services.html
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by ibmseo on 30-Apr-2019 12:53 am
I liked your article and I hope you will have many entries or more packaging boxes
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Holistic Bliss Keto on 29-Apr-2019 04:10 pm
This article was written by a real thinking writer without a doubt. I agree many of the with Holistic Bliss Keto the solid points made by the writer.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by sony xperia xa1 case on 18-Apr-2019 10:40 am
If you don"t mind proceed with this extraordinary work and I anticipate a greater amount of your magnificent blog entries
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Legends Keto on 08-Apr-2019 05:32 pm
SEO AIM POINT offers you assortment of Digital marketing services that includes SEO, social media, reputation management, website designing & development, PPC and application development.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by www.1rank.net on 06-Apr-2019 12:08 pm
Speedily this specific web page could indisputably become popular involving most writing a blog along with site-building persons, for you to their fastidious blogposts or possibly testimonials.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by nutrilife keto on 29-Mar-2019 04:09 pm
It's just as easy to go to a local park or building and climb the stairs there, rather than using a stair master in a gym with stale air. In fact, it's probably better. You're outside and breathing in the fresh air if you're in the park.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by ketozin on 26-Mar-2019 03:50 pm
The price of a water dispenser depends upon the features and brand. The more the features, the more is the price. If you want a dispenser in low budget go for one with basic features.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by nutrilife keto on 25-Mar-2019 04:32 pm
Type your comment...consistently, consider, the best way, to feel better, about ourselves, we will be more capable of letting life, become our ally, instead of an adversary. Doesn't it make sense,
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Rafia on 13-Mar-2019 04:13 pm
Here we are providing you Punjab Education Commission (PEC) 5th and 8th class result 2019. PEC 5th and 8th class result will be announced on 31st March 2019. Students can check their result through online by entering you roll number, name and school name. Keep in touch with us for more details about PEC 5th and 8th class result 2019.
  • Reply
  •  1 Like
  •  1 Dislike
  • Report
  by www.bradic.org on 09-Mar-2019 12:57 pm
This phenomenal hearings thoroughly correct. Most of low statistics are prepared by making usage of large number about feel effective skills. We're anxious the software once a whole lot.
  • Reply
  •  1 Like
  •  1 Dislike
  • Report
  by Naeem khatri on 07-Feb-2019 05:32 pm
Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it.
  • Reply
  •  1 Like
  •  1 Dislike
  • Report
  by umer on 09-Dec-2018 11:40 am
Type your comment...Hy very useful information for me thanks Keep up the good work and go on thanks again
  • Reply
  •  3 Like
  •  2 Dislike
  • Report
  by men's fashion on 08-Dec-2018 03:36 pm
Hay, very good article learn a lot in this article. Thanks for sharing keep up the good work. Its awesome information for me because I learn a lot from this article. Thanks
  • Reply
  •  2 Like
  •  2 Dislike
  • Report
  by 123 HP Printer Setup on 03-Dec-2018 02:51 pm
Thank you very much for this valuable contribution and informative.
  • Reply
  •  2 Like
  •  2 Dislike
  • Report