connect 2 dsl pc'sForum: DSL Tips and Tricks Topic: connect 2 dsl pc's started by: tuxtux Posted by tuxtux on Nov. 25 2006,17:53
i have 2 dsl machines connected at an ethernet router.how to communicate and share file from machines 1 to machine 2 and viceversa? Posted by roberts on Nov. 26 2006,00:18
If you are staying current with DSL versions, I find the easiest way to "mount" remote directories is to use sshfs.Say machine 1 is the "server" and machine 2 is the "client" On machine one: Setup password for user root start ssh either from the control panel or at boot time with boot option ssh On machine 2: sudo modprobe fuse or use the boot time option fuse Then to mount machine1's /tmp directory on machine2 you can do something like this sudo sshfs root@machine1_ip:/tmp /mnt/test You will be prompted for root's password on machine1 If successful then on machine2 you can access machine1 /tmp by accessing /mnt/test Best to google sshfs for all the full details and options available. Posted by Selim on Dec. 08 2006,08:05
I tried that. I needed to be root on machine2 to access machine1 /tmp by accessing /mnt/test. Any idea why?
Posted by ^thehatsrule^ on Dec. 08 2006,13:24
sudo implies root privileges, so /mnt/test probably then is only accessible with root privileges. You could try changing the permissions on /mnt/test with chmod/chown (not sure how sshfs works).
Posted by roberts on Dec. 08 2006,14:29
Use the option -o allow_otherSee other options with sshfs --help Posted by jls legalize on Dec. 10 2006,21:48
can I use sshf command without having to type yes and the the password?legalize cannabis, etc. |