LinuxQuestions.org
Register a domain and help support LQ
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 09-22-2010, 05:03 PM   #1
Quinlan
LQ Newbie
 
Registered: Jul 2010
Location: Kalamazoo, MI
Distribution: Ubuntu 10.04 / CentOS 5.5
Posts: 24

Rep: Reputation: 1
SSH to XP Partition


I have an SSH server set up on CentOS 5.5 which I can succesfully use to access my file system remotely.

On this machine, I also have a partition with XP installed on it. Is there a way I can set up the SSH server so that I can remotely access the files on the XP partition?

Thanks
 
Old 09-22-2010, 05:11 PM   #2
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
I don't think you would need to change anything in the SSH server settings. What you would need to do is install the ntfs-3g driver on your system for accessing Windows NTFS volumes (if it's not already installed).

Then it's just a matter of mounting the volume with mount -t ntfs-3g /dev/<partition> /mnt/<mountpoint>. Then you should be able to access it from the remote system over ssh.

(I may not have read your question correctly, but I hope this helps. )

Last edited by MrCode; 09-22-2010 at 05:16 PM.
 
Old 09-23-2010, 01:52 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Ya mount the drive of windows on linux and access that drive over the network using ssh

for ssh on windows refer this linux

http://www.windowsecurity.com/articl..._Windows_.html
 
Old 09-23-2010, 11:15 AM   #4
Quinlan
LQ Newbie
 
Registered: Jul 2010
Location: Kalamazoo, MI
Distribution: Ubuntu 10.04 / CentOS 5.5
Posts: 24

Original Poster
Rep: Reputation: 1
Do I mount the volume from the local terminal, or do I do that remotely?
 
Old 09-23-2010, 11:17 AM   #5
Joe of Loath
Member
 
Registered: Dec 2009
Location: Bristol, UK
Distribution: Ubuntu, Debian, Arch.
Posts: 152

Rep: Reputation: 28
Quote:
Originally Posted by Quinlan View Post
Do I mount the volume from the local terminal, or do I do that remotely?
You can do either, SSH just opens a local terminal remotely, if that makes sense.
 
Old 09-23-2010, 12:18 PM   #6
Quinlan
LQ Newbie
 
Registered: Jul 2010
Location: Kalamazoo, MI
Distribution: Ubuntu 10.04 / CentOS 5.5
Posts: 24

Original Poster
Rep: Reputation: 1
Okay. I installed ntsf-g3. But when I go to use it (mount -t ntfs-3g /dev/sda1 /mnt/windows), I don't have any directory /mnt/windows. I created it, but I don't know if it's it working.


So when I log in remotely, where do I need to go find the windows directory?
 
1 members found this post helpful.
Old 09-23-2010, 12:27 PM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Quinlan View Post
Okay. I installed ntsf-g3. But when I go to use it (mount -t ntfs-3g /dev/sda1 /mnt/windows), I don't have any directory /mnt/windows. I created it, but I don't know if it's it working.
Does mount give any errors? If you do an ls in the directory, do you see the files?
Quote:
So when I log in remotely, where do I need to go find the windows directory?
Well, /mnt/windows, if that's where the partition is mounted.
 
Old 09-23-2010, 01:00 PM   #8
Quinlan
LQ Newbie
 
Registered: Jul 2010
Location: Kalamazoo, MI
Distribution: Ubuntu 10.04 / CentOS 5.5
Posts: 24

Original Poster
Rep: Reputation: 1
Ah! Beautiful. Thank you very much for your help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
resize partition over ssh m4rtin Linux - Server 5 04-13-2009 10:42 AM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 03:50 AM
Using Clonezilla linux partition image to windows ssh server killerforce Linux - Hardware 1 06-01-2007 10:17 AM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 01:34 PM
Reiserfsck root partition through SSH (Gentoo) Mil0 Linux - General 3 08-09-2005 01:13 PM


All times are GMT -5. The time now is 01:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration