l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Apr 06 08:49

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Forwarding SMB through SSH
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Forwarding SMB through SSH

På onsdag, 06 april 2005, skrev Richard Crawford:
> On my Solaris server at work, I'm running Samba and sharing the web directory 
> over it so that it can be viewed by the Windows computers at work.  I'd like 
> to be able to access this share via SSH on my Linux computer at home; is this 
> possible?  I've enabled port forwarding in the /etc/sshd.conf file on the 
> Solaris machine, and port 22 is the only port I allow through the firewall to 
> that server (and even though, port 22 is only accessible from my home IP 
> address).
> I've tried:
> # ssh -f -L2001:localhost:139 xxx.xxx.xxx.xxx sleep 20000

I think that the sleep command after the arguments to ssh is unnecessary.

I cannot comment specifically on Samba, due to a complete lack of usage
experience, however, I have sucessfully used ssh to tunnel VNC over an
insecure network, by starting the vnc server on the remote host (shown below
as romana.hajhouse.org), then running this on the local host:

	ssh -C -L 5901:localhost:5901 romana.hajhouse.org
	xvncviewer -passwd vncpasswd :1 # port 5901 = :1 in X notation

I know this is not what you asked for, but perhaps it may help. Perhaps you
might try tunneling another service to see if tunneling works in the general
case, in case the problem is some specific strangeness of the SMB protocol.

Henry House
+1 530 753 3361 ext. 13
Please don't send me HTML mail! My mail system usually rejects it.
The unintelligible text that may follow is a digital signature.
See <http://hajhouse.org/pgp> to find out how to use it.
My OpenPGP key: <http://hajhouse.org/hajhouse.asc>.

Attachment: signature.asc
Description: Digital signature

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!