Thanks Gustin.  I was thinking about doing something similar - mounting the 
windows share on the Linux box, then using ssh to there.  I was just 
wondering if there was a way to bypass this intermediate step....

BTW, this would be a Linux (workstation) to Linux to Windows type of setup...

Shawn

On Thursday 14 July 2005 13:46, Gustin Johnson wrote:
> ssh [EMAIL PROTECTED] -L 139:sambahost:139
>
> For windows simply go to \\localhost
>
> For linux mount -t smbfs //localhost/share /mnt/point -o username=myuser
>
> In both cases either samba or windows file sharing must be disabled on the
> workstation you are ssh-ing from.
>
> I have not had to do this in a while.  I actually cheat a little now.  I
> use shfs to mount the ssh server to a path on my workstation, then use
> samba or NFS mounts in subdirectories from there (on the remote ssh
> machine).
>
> Cheers
>
> On Thursday 14 July 2005 12:12, Shawn wrote:
> > I have a situtation where I need to manage a windows server remotely,
> > through an SSH connection to a Linux server on the network.  So the
> > connection looks something like this:
> >
> > local workstation ---- | ---- ssh server ----- windows server
> >
> > Specifically, I need to be able to access files on the windows server.
> >
> > My initial research indicates a command something like this would do the
> > trick:
> >
> > ssh -R 139:localhost:139 [EMAIL PROTECTED]
> >
> > But I don't think I understand the command properly, or I'm missing
> > something. The command doesn't seem to be working for me.  When I try it,
> > I connect to the host fine, but then I'm in a shell on the ssh server.
> > Opening another local console and trying to access the windows server
> > fails - by name or IP address.
> >
> > Can this be done through SSH?  Any tips are appreciated.
> >
> > Shawn
> >
> > _______________________________________________
> > clug-talk mailing list
> > [email protected]
> > http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> > Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> > **Please remove these lines when replying

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to