Solved

copy file in linux

Posted on 2009-04-14
3
230 Views
Last Modified: 2013-12-16
How can i shell into a remote server and copy a file back to my pc
0
Comment
Question by:fccinvest
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Expert Comment

by:fosiul01
ID: 24142648
do you want to do this automate or just manualy ??

to manualy

 scp -r root@55.66.77.88:somedir somedir

so it will copy somedir from remote to the local pc

or you can make it automate by RSYNC with passwordless backup
0
 

Author Comment

by:fccinvest
ID: 24142761
manually is fine but I am on a windows xp pc using putty to shell into the linux box.
Then I went to the folder where the file is at and from there type your command ?
Using secure copy what is the -r switch for ?  Then does rot@public address represent
the admin account at my xp box?  So if I want to copy the file to my xp box in the c:\ directory I use

scp -r filename rick@55.66.77.88:c:\
0
 
LVL 29

Accepted Solution

by:
fosiul01 earned 500 total points
ID: 24142805
ommmmm it would not work that way,

because you would not be able to copy linux file directory to C:/ drive

if you want to do that you need to install Cygin ,

or have to use wincp to download file  from linux to windows

or have to install ftp server and download file

but i guess Cygin would be perfect,

i will sent you some tutorial on this
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Mailserver setup & redundancy 2 83
Redhat upgrade 1 48
Exchange Server Send connector and DNS Round Robin ? 6 49
AWS Linux EC2 question on group 7 26
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question