Re: ssh tunnel and permission denied

2005-10-13 Thread Leonard Bouchet
--- Brian Dessent <[EMAIL PROTECTED]> a écrit: > That won't work if the share requires a password, which your original > post implied. What I meant was to "net use" the share as Z: (providing > the password) and then "mount z:/ /foo/bar". I can't test on the Win98 box right now, but the good

RE: ssh tunnel and permission denied

2005-10-13 Thread Tevfik Karagülle
As of version 2.6.0, rsync uses ssh as default transport mechanism. Rsh is still supported by 'rsync -e rsh' syntax. Rgrds Tev > -Original Message- > From: Corinna Vinschen [mailto:[EMAIL PROTECTED] > Sent: 13. oktober 2005 13:26 > To: cygwin@cygwin.com > Su

Re: ssh tunnel and permission denied

2005-10-13 Thread Leonard Bouchet
--- Corinna Vinschen <[EMAIL PROTECTED]> a écrit: > I'm not sure I understand your problem, but why don't you just use > `rsync -e ssh'? That's the first thing I tried, several days ago, I should have mentionned it! It doesn't work because I have trouble with special characters and european

Re: ssh tunnel and permission denied

2005-10-13 Thread Brian Dessent
Léonard Bouchet wrote: > Thanks for your answer. I tried > $ mount //myserver/user /test > the command worked as shown with > $ mount > \\myserver\user on /tmp type system (binmode) > ... > but I still have my 'permission denied' > $ cd /test > BASH:

Re: ssh tunnel and permission denied

2005-10-13 Thread Corinna Vinschen
On Oct 13 13:01, L?onard Bouchet wrote: > > On 13 oct. 05, at 12:45, Brian Dessent wrote: > > >But I guess that doesn't matter, since the net use succeeds and you can > >access Z: through explorer. What happens if you try mounting Z:/ > >instead of using /cygdrive? > > Thanks for your answer. I

Re: ssh tunnel and permission denied

2005-10-13 Thread Léonard Bouchet
On 13 oct. 05, at 12:45, Brian Dessent wrote: But I guess that doesn't matter, since the net use succeeds and you can access Z: through explorer. What happens if you try mounting Z:/ instead of using /cygdrive? Thanks for your answer. I tried $ mount //myserver/user /test the command

Re: ssh tunnel and permission denied

2005-10-13 Thread Brian Dessent
Leonard Bouchet wrote: > Actually, according to netstat, the binding works because it listens to > 127.0.0.1:139, while the windows' sharing service listens to my locally > assigned ip address, for example 192.168.1.25:139. > > That's my guess after some additional researches. I still don't know

Re: ssh tunnel and permission denied

2005-10-13 Thread Leonard Bouchet
On 13 oct. 05, at 10:38, Leonard Bouchet wrote: I'm simply not sharing anything on the W98 box. Actually, according to netstat, the binding works because it listens to 127.0.0.1:139, while the windows' sharing service listens to my locally assigned ip address, for example 192.168.1.25:139.

Re: ssh tunnel and permission denied

2005-10-13 Thread Leonard Bouchet
On 13 oct. 05, at 00:30, Brian Dessent wrote: Leonard Bouchet wrote: # Step 1: open the ssh tunnel $ ssh -fNL 139:myserver:139 [EMAIL PROTECTED] I'm surprised that this works. Normally if you try this on a windows machine the port forwarding setup will fail because the local SMB service on

Re: ssh tunnel and permission denied

2005-10-12 Thread Brian Dessent
Leonard Bouchet wrote: > # Step 1: open the ssh tunnel > $ ssh -fNL 139:myserver:139 [EMAIL PROTECTED] I'm surprised that this works. Normally if you try this on a windows machine the port forwarding setup will fail because the local SMB service on that machine is already listening on 139, and s

ssh tunnel and permission denied

2005-10-12 Thread Leonard Bouchet
Hi all, I'm trying to configure smb over ssh with cygwin and have some trouble. I can't access my smb drive through cygwin when I'm mounting it throught the ssh tunnel. Here are the steps I follow: # Step 1: open the ssh tunnel $ ssh -fNL 139:myserver:139 [EMAIL PROTECTED] # Step 2: connect