LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 01-25-2005, 02:00 AM   #1
jackster
LQ Newbie
 
Registered: Jan 2005
Location: Pretoria, South-Africa
Distribution: Mandrake 10
Posts: 19

Rep: Reputation: 0
SSH tunnel using PuTTy - Samba


I know this falls more to the windows side, but can any one help? I did the following: Create a putty session, specify the local port as 139, specify the destination as 127.0.0.1:139, stopped file and printer sharing (to clear port 139 on windows box) and connected. The tunnel seem te be ok, but when i connect to \\myserver\myfolder it says i don't have the right permissions to do so. I blocked port 139 on my server for testing purposes. When i unblock it, it works like a bom, but that is not the point.

Any help please??

Jack
 
Old 01-25-2005, 02:20 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 518

Rep: Reputation: 30
you opened a putty-connection to your loopback?! why?
 
Old 01-25-2005, 02:24 AM   #3
jackster
LQ Newbie
 
Registered: Jan 2005
Location: Pretoria, South-Africa
Distribution: Mandrake 10
Posts: 19

Original Poster
Rep: Reputation: 0
Are you refering to "destination 127.0.0.1:139" ? That is so that on the box i connect to, traffic gets routed to port 139. Or am i wrong there?
 
Old 01-25-2005, 02:27 AM   #4
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 518

Rep: Reputation: 30
you´re right! ;-)
 
Old 02-12-2005, 04:07 PM   #5
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Think you will have to alter your access request.
Putty listens on 127.0.0.1:139 for connections, so you will have to do \\myclient\myfolder instead of \\myserver\myfolder.
When you unblock port 139 and run \\myserver\myfolder the connection works but are direct and unencrypted, since putty isn't involved.

So try \\myclient\myfolder and you should probably succeed.
 
  


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
Connecting with Samba Share via SSH Tunnel duliano Linux - Software 3 02-27-2005 08:23 PM
ssh tunnel TroelsSmit Linux - Software 2 04-30-2004 03:30 PM
SSH using putty rkemp Linux - Networking 3 03-06-2004 05:04 PM
VNC with Putty Tunnel port ziggie216 Linux - Software 10 12-02-2003 08:32 PM
VNC with Putty Tunnel LinuxHaven Linux - Security 15 08-30-2003 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:05 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