CrazyEngineers
  • Linux command for copying a file from remote server location to our local machine

    Nikumbh

    Member

    Updated: Oct 23, 2024
    Views: 928
    scp -r testuser@10.0.5.215:/home/testuser/tmp/hello.txt /home/elcot/hello.txt
    I've used the above command to copy the file located at the server:10.0.5.215, location: /tmp/hello.txt username: testuser to my local machine local-username: elcot....
    Could anyone help me to get the file located remotely....
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • lovejeet

    MemberAug 9, 2013

    can you post the error you are getting?? try using rsync cmd, which runs over ssh protocol and furthermore provides a lot of configurable parameters.
    Are you sure? This action cannot be undone.
    Cancel
  • Nikumbh

    MemberAug 9, 2013

    #-Link-Snipped-# : i was getting connection timed out msg.... i don't know why. 😔
    Are you sure? This action cannot be undone.
    Cancel
  • lovejeet

    MemberAug 9, 2013

    are u able to ping to the server??
    Are you sure? This action cannot be undone.
    Cancel
  • Nayan Goenka

    MemberAug 10, 2013

    Just verify if you have healthy connection to the server. Apart from that if this is some kind of backup utility, I would suggest you to use rsync to take network backup for sharing files. It is secure as well
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register