Results 1 to 5 of 5

Thread: SSH Traffic?

  1. #1
    Join Date
    Feb 2011
    Beans
    23

    Question SSH Traffic?

    Hi guys,

    Today I used ssh from a remote laptop using my mobile hotspot to log into a home PC and using rsync told it to do an update of some files.

    As I was using my mobile hotsopt, it got me wondering how much of an effect it was having on my mobile data allowance. The files I was backing up were on the home PC and were just being backed up to an external HDD which was plugged into that PC.

    The question I have (as I'm fairly new to using ssh) is does all the traffic i.e. the backup files travel to the laptop I was logging in from and back again to the home pc's external HDD, or does it all just happen back at home locally (I hope so otherwise I may get a shock when I get my next bill ) and just send the details to the terminal on my laptop?

    I only started wondering about this as it appeared to be taking longer than i would usually expect for those files to be copied from one spot to another had I been at home and physically transferring a copy them from one spot to another myself.

    Cheers,

    Lee.

  2. #2
    Join Date
    Apr 2011
    Location
    Maryland
    Beans
    1,461
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: SSH Traffic?

    No, the files won't have been transferred to your laptop and then back to the external drive. They should have gone directly to the external drive just as if you were sitting at that computer and did the transfer from there. SSH just allows you to remotely log into that computer and work with that computer.

  3. #3
    Join Date
    Oct 2007
    Beans
    338

    Re: SSH Traffic?

    you are simply sending the commands to the remote and monitoring the progress very minimal as far as data.

  4. #4
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: SSH Traffic?

    Yes, with SSH you merely told the computer at home what to do.

    If you'd used Samba instead, you'd be looking at a massive internet bill.

    Since I was a kid I noticed that using Appletalk to copy a file from an internal to external hard disk on the same computer would cause the file to be transferred across the network needlessly. I thought "Why don't they have some little way where the client can tell the server to just do the copy itself?". I'm still disappointed that Samba doesn't work this way.

    However you're okay, you used SSH.
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  5. #5
    Join Date
    Feb 2011
    Beans
    23

    Re: SSH Traffic?

    Thanks heaps guys, I really appreciate the replies.

    That clears that one up nicely for me. I thought/hoped that was the case but had to be sure and ask some people much smarter than myself

    Cheers,
    Lee.
    Last edited by rucker222; December 17th, 2012 at 03:46 PM.

Tags for this Thread

Bookmarks

Posting Permissions

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