LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2010, 09:00 PM   #1
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Mounting a local Windows CD drive to a remote Linux system?


Is it even possible? I don't know of a way to do it.

The situation is say all I have is a windows machine and I remotely connected via ssh to a Linux machine. Is there a way I can mount my local CD-rom on the remote Linux machine?
 
Old 01-31-2010, 09:08 PM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
You can do it by enabling the sharing on the drive from the Windows machine, and then mount it on the Linux box using samba.
 
Old 02-08-2010, 07:14 PM   #3
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Original Poster
Rep: Reputation: 57
Yea thats fine if the remote Linux machine is on the same network. What if The remote machine is off site? Like say the Remote machine is at a client location.
 
Old 02-08-2010, 08:09 PM   #4
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Quote:
What if The remote machine is off site? Like say the Remote machine is at a client location.
Yep, that raises the bar!

You can of course open up the SMB port to the big bad internet, but this has security hairs on it.

How about the following (I haven't tried this, it is a bit convoluted):
  • Run an openssh server on the Windows box
  • Set up a reverse ssh tunnel so that the Linux box can ssh back to the Windows machine (this is to temporarily bypass the client firewall without resorting to changing the firewall port forwarding)
  • From the Linux box, set up an sshfs to the Windows machine to mount the CDROM.

It strikes me it would be easier to just scp the contents of the CDROM to the Linux machine

Last edited by neonsignal; 02-08-2010 at 08:16 PM.
 
Old 02-09-2010, 04:07 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
VPN is the way to access non-routable protocols. If you don't care about security then might mount it nfs tools. It is a huge package but they have services for unix.

Might try running remote desktop and remote access tools like adobe's connectnow and other remote tools.

Could mount it with portable xampp to a http page or ftp site. Similar to xitami or even the older free barracudadrive server.

Bet there is 10 more ways or so.

So the basic issue is how do you want to access your system and then choose a format to use that access.

Last edited by jefro; 02-09-2010 at 04:11 PM.
 
Old 02-09-2010, 09:29 PM   #6
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Original Poster
Rep: Reputation: 57
neonsignal,
That is a really good idea doing a reverse ssh tunnel. I haven't thought about that. Previously I either sent a copy of the disc to the client and had them physically insert it into the machine or I made an iso and hosted it on my web server till I could get it downloaded and mounted. Then I deleted the iso from my web server. Just a bit time consuming doing that.

Jefro,
I bet you are right there are probably 100 ways of doing this task. Thats the joy of Linux, there is always more than than 1 way of doing something. I guess from a security stand point a VPN tunnel would be best.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a Remote Windows Drive vandeja4 Linux - Networking 1 10-25-2006 12:58 PM
mounting local hard drive in a remote shell (SSH) noir911 Linux - General 1 06-24-2005 05:55 AM
Mounting a Linux Drive on an XP system? Savanna Linux - Newbie 2 06-21-2005 04:38 PM
Remote Mounting? (Mount remote folder on local filesystem) mac_phil Linux - Networking 1 11-15-2003 03:48 PM
Mounting a drive from a non-Linux system hopbalt Linux - Newbie 6 08-06-2003 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration