Find the answer to your Linux question:
Results 1 to 3 of 3
Hi folks, I have a Fedora-7 box and an OpenBSD 4.1 box. Both are connected to a router for Internet sharing. Both have SSH and SCP running. The Fedora-7 box ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,787

    File sharing between F-7 and OpenBSD 4.1


    Hi folks,

    I have a Fedora-7 box and an OpenBSD 4.1 box. Both are connected to a router for Internet sharing. Both have SSH and SCP running. The Fedora-7 box has KDE/GNOME desktops installed. The OpenBSD box has X runinng by without Desktop installed. I haven't figured out how to run SSH and SCP on command lines to transfer/retrieve files between these boxes. Each box is assigned with an IP address on the router.

    Please shed me some light. TIA


    B.R.
    satimis

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You can ssh into a box and use scp to copy files between boxes. Its as simple as doing something like
    Code:
    $scp somefile user@hostname:somedirectory/somefile
    The usage for scp is similar to the cp.
    You can also forward X sessions by doing something like
    Code:
    $ssh -X hostname
    This means that you can run GUI apps located on one machine, on another.

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,787
    Quote Originally Posted by daark.child View Post
    You can ssh into a box and use scp to copy files between boxes. Its as simple as doing something like
    Code:
    $scp somefile user@hostname:somedirectory/somefile
    The usage for scp is similar to the cp.
    You can also forward X sessions by doing something like
    Code:
    $ssh -X hostname
    This means that you can run GUI apps located on one machine, on another.
    Hi daark.child,

    Tks for your advice.

    How to find the hostname of each box. If both boxes have the same hostname. What can I do?

    About running GUI apps located on one machine, on another, whether start Konqueror to do the job? I did it before at least 7~8 years ago with a weak recollection. How about the OpenBSD 4.1 box, it has no desktop running. What can I do? TIA

    B.R.
    satimis

Posting Permissions

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