LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 08-16-2008, 06:45 AM   #1
vcatalano
LQ Newbie
 
Registered: Sep 2006
Posts: 27

Rep: Reputation: 15
Remote Mount a Samba Share


Hello, I am setting up a Samba file server at my small office and I have the user permissions set so that the drive requires a username and password for anyone who wants to access the drive. I was wondering if the drive can be accessed remotely (outside of the local network) and if so, how secure it is to do it this way. Thank you.
 
Old 08-16-2008, 09:43 AM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 577

Rep: Reputation: 32
You can use ssh.
You will need to run sshd on the host running samba service.
Using ssh client (with proper -L and/or -R options) started on the remote host you can see the 127.0.0.1:139 port locally which can be mapped as samba share.
 
Old 08-16-2008, 05:51 PM   #3
vcatalano
LQ Newbie
 
Registered: Sep 2006
Posts: 27

Original Poster
Rep: Reputation: 15
What if I am connecting to the remote samba drive with a computer with windows xp?
 
Old 08-16-2008, 06:40 PM   #4
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 577

Rep: Reputation: 32
Use putty.exe or command line equivalent plink.exe or something similar - I do not remember the name (googling for putty you'll find a tools family).
 
  


Reply

Tags
linux, remote, samba


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 11:28 AM
Mount a remote homedir at logon: How to share a Firefox profile between two machines? ask Linux - Networking 1 07-25-2007 03:44 PM
show the samba share but can't mount the share badall Linux - Server 3 05-30-2007 04:24 AM
shell script to mount samba share with " " in the remote path dohpaz Programming 2 10-20-2006 02:18 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration