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.
- 06-07-2007 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
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
- 06-07-2007 #2
You can ssh into a box and use scp to copy files between boxes. Its as simple as doing something like
The usage for scp is similar to the cp.Code:$scp somefile user@hostname:somedirectory/somefile
You can also forward X sessions by doing something like
This means that you can run GUI apps located on one machine, on another.Code:$ssh -X hostname
- 06-07-2007 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
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


Reply With Quote

