LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-25-2007, 08:43 AM   #1
Aka_yaiba
LQ Newbie
 
Registered: Oct 2007
Location: North Carolina
Distribution: Fedora 7
Posts: 3

Rep: Reputation: 0
Samba through SSH tunnel.


For starters, I can hardly find any good help on the web. I'm trying to use the SMB client to access a windows machine and such from Linux, and I really have no idea about how to go about this. Can anyone give me some advice?
 
Old 10-27-2007, 04:50 AM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
SMB/CIFS often involves multiple ports, so SSH isn't a convenient solution. Ideally, you should use a full VPN solution like OpenVPN. (OK, ideally you wouldn't use CIFS at all, but VPN solves the problem).
 
Old 10-29-2007, 08:21 AM   #3
Aka_yaiba
LQ Newbie
 
Registered: Oct 2007
Location: North Carolina
Distribution: Fedora 7
Posts: 3

Original Poster
Rep: Reputation: 0
=\

I wish I could use that. My Professor told us to use SMB through a SSH tunnel, So I'm stuck with SSH, much to my displeasure.
 
Old 10-29-2007, 02:54 PM   #4
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I beleive that modern SMB can run through just TCP port 445, so you might be able to get away with making an SSH tunnel for that port, but I've never tried it myself. As always, use the smbclient command-line utility to test your setup before you use the built-in desktop support. For some reason, graphical interfaces for SMB can be finicky, but smbclient is solid.
 
Old 10-30-2007, 07:55 AM   #5
Aka_yaiba
LQ Newbie
 
Registered: Oct 2007
Location: North Carolina
Distribution: Fedora 7
Posts: 3

Original Poster
Rep: Reputation: 0
I'll give it a try and get back to you on that.
 
  


Reply

Tags
linux, samba, ssh


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
setting up an ssh soxy or local ssh tunnel from within an ssh soxy Mangenius Linux - Networking 0 03-05-2007 03:15 PM
Connecting with Samba Share via SSH Tunnel duliano Linux - Software 3 02-27-2005 08:23 PM
SSH tunnel using PuTTy - Samba jackster Linux - Security 4 02-12-2005 04:07 PM
Ssh Tunnel tinaa Linux - Software 7 07-29-2003 07:52 PM
SSH tunnel? tarballedtux Linux - Networking 3 04-09-2002 03:52 PM


All times are GMT -5. The time now is 04:07 PM.

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