Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

Copying files across servers to my Mac laptop.

I need to copy extra dirs/files from an external server, to my Mac Laptop.

I was thinking something like:

ssh username@remoteserver "scp /etc/mail/aliases_03032009.txt" | dd of=/path/to/local/dir//aliases_03032009.txt

Any help will be appreciated.

Thanks
0
wotan1953
Asked:
wotan1953
  • 2
1 Solution
 
omarfaridCommented:
try this

scp username@server:/etc/mail/aliases_03032009.txt /path/to/local/dir//aliases_03032009.txt
0
 
wotan1953Author Commented:
Hey Omarfarid -

Thanks ... quick followup on the the previous question "tar procedure may have been compamised",  I added some more there. I think I might turn it into another question. Let me know, what U think.

Thanks again
0
 
omarfaridCommented:
I replied to that, please check
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now