LinHES Forums
http://forums.linhes.org/

remote file access
http://forums.linhes.org/viewtopic.php?f=5&t=19892
Page 1 of 1

Author:  roofchop [ Fri May 22, 2009 10:23 pm ]
Post subject:  remote file access

Hi, I am trying to remotely access a file on my mythbox. I am far from it right now but have access via SSH and mythweb. Is there a simple way I can copy a file locally? I usually use webmin when I am local. I have been looking, but can't seem to find anything, can anyone point me in the right direction.

Thanks,
JJ

Author:  Greg Frost [ Fri May 22, 2009 11:30 pm ]
Post subject: 

Log in via ssh.
Copy the file to /var/www
You (and the rest of the world) should be able to access it using:
http://your.host.ip/the_file

Author:  graysky [ Sat May 23, 2009 6:36 am ]
Post subject: 

You want to copy a file locally? Do you mean locally = from your workstation PC? I'm confused why you would be using webmin to do this.

Do you want to:

1) Copy from mythtv to workstation
2) Copy from mythtv to mythtv
3) Copy from mythtv to anyone/anywhere

Without fully understanding what your goal is, I can't help :) Have you tried using Samba? It will allow you to read/write/delete files from a Windows machine on your LAN.

Author:  roofchop [ Sat May 23, 2009 7:35 am ]
Post subject: 

Thanks a lot Greg, worked perfectly.

My goal was just to retrieve a file on my knoppmyth computer to my workstation PC in a different city. I find webmin a simple way to transfer files back and forth from my windows laptop to my knoppmyth PC. The problem was I have never needed to do this away from my LAN before.

JJ

Author:  graysky [ Sat May 23, 2009 7:58 am ]
Post subject: 

ok... using GF's method will work but know that unless you're tunneling your connection through ssh you are opening up your mythbox to potentially large security threat by making it open to the world via http.

If tunneling isn't to your liking, you can always use scp (linux-to-linux) or filezilla (sftp) if you want a windows gui.

Author:  Gnarl [ Sat May 23, 2009 2:15 pm ]
Post subject: 

Also you may want to check out CoreFTP. You can connect via sftp (uses port 22 and ssh) and run like any other ftp server.

Author:  nigelpearson [ Sat May 23, 2009 10:28 pm ]
Post subject:  Re: remote file access

roofchop wrote:
Hi, I am trying to remotely access a file on my mythbox. I am far from it right now but have access via SSH


If your MythBox allows ssh, then it usually also allows scp or sftp. e.g.
Code:
scp mythbox-remote-ip:/myth/tv/1003_20060302232800.mpg .

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/