VectorLinux
September 02, 2014, 03:47:47 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Copy files between running qemu instance and VL host.  (Read 595 times)
roarde
Vectorian
****
Posts: 528


move the needle


« on: May 20, 2014, 02:40:08 pm »

I'm told this is essentially a network operation, so I post it here.

I've enabled sshd, but have done no configuration. I know creating an additional filesystem and mounting/umounting it between guest and host is another way to go here, but file transfer will be frequent enough for that not to be practical.

I'm pretty much totally ignorant of networking, and cannot find a place to get started. Host will be VL (7.0 for now), guest is usually but not always VL.

Is there a way to set this up so that the qemu session would be the only "remote" connection accepted? I'm not interested in shell hosting, especially for those "unknown" users.
« Last Edit: May 20, 2014, 02:46:15 pm by roarde » Logged

Robert
VL STD 7.1 RC2.2.2, icewmvmods
bigpaws
Vectorian
****
Posts: 1847


« Reply #1 on: May 20, 2014, 03:24:31 pm »

I believe I know what you are trying to do.

http://fuse.sourceforge.net/sshfs.html

This will allow you to create a remote mount point and
transfer files each way.

HTH

Bigpaws
Logged
roarde
Vectorian
****
Posts: 528


move the needle


« Reply #2 on: May 20, 2014, 03:48:28 pm »

Thanks for your response, bigpaws. From what I can tell, you do indeed understand what I need to do.

But I don't understand where I would install sshfs, how to login to the server with ssh, and for that matter am not entirely sure what to supply for "hostname:".

I should have supplied an exponent to "ignorant".
Logged

Robert
VL STD 7.1 RC2.2.2, icewmvmods
bigpaws
Vectorian
****
Posts: 1847


« Reply #3 on: May 20, 2014, 04:38:35 pm »

sshfs is installed on the client.

There is nothing else you need.

Then create a mount point (I usually use a new directory in my /home)
then you need to mount it. An example command from the client (It does not
matter which host it is):
sshfs hostname(or ip)@:/directory path /mount/point

HTH

Bigpaws
Logged
M0E-lnx
Administrator
Vectorian
*****
Posts: 3179



« Reply #4 on: May 22, 2014, 03:14:00 am »

You could just sftp using lftp from the guest to the host
Logged

nightflier
Administrator
Vectorian
*****
Posts: 4022



« Reply #5 on: May 22, 2014, 03:21:58 am »

I use Midnight Commander (mc).

Menu > Right > Shell link

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!