Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question SCP to an internal server

    I am trying to transfer something from an internal server at my house to my office. Currently I have to transfer from my internal server to my accessible computer then from that PC to my one at work.

    Is there a way to bypass having to use the access PC as a storage device?
    Last edited by nexxuz; 04-05-2012 at 06:30 PM.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    The first question is why do you need to use accessible computer and where is it located?


    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    To keep me from having to reconfigure FTP and SSH on my media server and open more ports on my router I am trying to connect to the media server through the PC. I am trying to do this simply for convenience and to not have to store temporally the files on the intermediate PC.

    Both PCs are running Fedora 16.

  4. $spacer_open
  5. #4
    Just Joined!
    Join Date
    May 2011
    Austin, TX
    nexxuz: Based on what you've said, you just need to use scp's ability to copy from remote to remote.

    You said you're currently transferring to the PC, then to the REMOTE machine:
    user@PC$ scp user@MEDIA:/path/file ./file
    user@PC$ scp ./file user@REMOTE:/path/file
    SCP/RCP supports doing remote->remote transfers though, so all you would need to do is:
    user@PC$ scp user@MEDIA:/path/file user@REMOTE:/path/file
    This will copy from MEDIA to REMOTE without creating a copy on PC in the middle.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts