I use ssh port forwarding to connect to a samba server from Windows 2000/ XP clients. But there is an annoying part that I have to enter my password for samba shares after I already authenticated with the server using ssh. Is there any way to setup samba so in the case of ssh connections it would use already authenticated user name and would not ask for any password for shares? Regards, Igor
On Tuesday 18 January 2005 12:20, Igor Bukanov wrote:> I use ssh port forwarding to connect to a samba server from Windows > 2000/ XP clients. But there is an annoying part that I have to enter my > password for samba shares after I already authenticated with the server > using ssh. Is there any way to setup samba so in the case of ssh > connections it would use already authenticated user name and would not > ask for any password for shares?How do you do the port forwarding? I have a few ideas, but need too see how you start/initiate the tunnel(s). -- Truls L?kholm Bergli Student og Undervisnings Tjenester IT-avdelinga Uit?
Truls L?kholm Bergli wrote:> On Tuesday 18 January 2005 12:20, Igor Bukanov wrote: > >>I use ssh port forwarding to connect to a samba server from Windows >>2000/ XP clients. But there is an annoying part that I have to enter my >>password for samba shares after I already authenticated with the server >>using ssh. Is there any way to setup samba so in the case of ssh >>connections it would use already authenticated user name and would not >>ask for any password for shares? > > > How do you do the port forwarding?Using either cygwin ssh port and running from command prompt on windows box: ssh -L 139:127.0.0.1:139 username@hostname or via similar configuration using PuTTY Regards, Igor
On Tue, 18 Jan 2005 15:29:59 +0100, "Truls Løkholm Bergli" <Truls.L.Bergli@cc.uit.no> said:> On Tuesday 18 January 2005 12:20, Igor Bukanov wrote: > > I use ssh port forwarding to connect to a samba server from Windows > > 2000/ XP clients. But there is an annoying part that I have to enter my > > password for samba shares after I already authenticated with the server > > using ssh. Is there any way to setup samba so in the case of ssh > > connections it would use already authenticated user name and would not > > ask for any password for shares? > > How do you do the port forwarding?Using either cygwin ssh port and running from command prompt on windows box: ssh -L 139:127.0.0.1:139 username@hostname or via similar configuration using PuTTY Regards, Igor
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | I use ssh port forwarding to connect to a samba server from Windows ... | ask for any password for shares? Why not set ssh up for public key auth? Coupled with Samba's own encryption, it should be secure enough. ;-) Jim C. - -- - ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings @ hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings @ njs.netlab.cz | - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7Wgs57L0B7uXm9oRAptVAJ0XO5hOyTsvr3LGfJsjVOvUu0ln/ACfahD0 LKKCycfEbpZinPSV6JkQcK8=HDEt -----END PGP SIGNATURE-----