Find the answer to your Linux question:
Results 1 to 4 of 4
hey, I have a file on my current machine, but I'm looking to xfer it to my other machine (both Ubuntu, mine festy, other computer, edgy) so I looked into ...
  1. #1
    Just Joined! KevinGabbert's Avatar
    Join Date
    Jun 2007
    Location
    Salem, OR
    Posts
    2

    copying a file from one host to another via commandline

    hey,

    I have a file on my current machine, but I'm looking to xfer it to my other machine (both Ubuntu, mine festy, other computer, edgy)

    so I looked into the rcp command. ok, sounds simple:

    my convo with the commandline:

    kevin@computer:~/Desktop$ rcp -r calendarplugin admin@192.168.0.15:/x
    admin@192.168.0.15's password:
    scp: /x/calendarplugin: Permission denied

    well, i got pretty far, password was correct, but something went wrong. What would I check to make sure that 192.168.0.15 will let me in?

    if there is a better way than rcp, I'm open to that too.

    Kevin

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Do you have write permission to the directory on the remote host?

  3. #3
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    The better way is to make sure that the ssh service is running and open on the target machine, and use 'scp':

    Code:
    scp <file> <user>@<host>:<full_path>/[<filename_if_required>]
    Linux user #126863 - see http://linuxcounter.net/

  4. #4
    Just Joined! KevinGabbert's Avatar
    Join Date
    Jun 2007
    Location
    Salem, OR
    Posts
    2

    permissions.. good point.

    as a verifigation, I also tried to SSH in via Ubuntu's "Connect to Server" gnome dialog, and it let me view info & read it, but not copy to that machine. So it is balking on the permissions apparently.

    How would I set permissions on destination machine?

    Kevin

Posting Permissions

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