Re: michael's openssh for windows

2004-06-17 Thread Igor Pechtchanski
Andreas, It's usually a good idea to send your Cygwin-related questions to the Cygwin mailing list instead of via private mail. Not only will you get access to the combined expertise of the list, which is more than any one person can provide, but your questions (and answers to them) will be archi

Re: michael's openssh for windows

2003-08-14 Thread jwaterbrook
This thread lead me to many turns in the road to what I found to be a solution for me: someone suggested adding /usr/sbin/sftp-server to the passwd file instead of the original /bin/switch or /bin/sh. however, scp doesn't work along with ssh, but I was trying to get sftp working, so I see no lo

Re: michael's openssh for windows

2003-08-14 Thread jwaterbrook
I haven't seemed to get very far with this, I was hoping someone might be able to point a blind man in the right direction :) Waterbrook, Johnny wrote: I'd prefer not to start a new thread, but I've been searching for the past few hours with no luck. I needed a fast way to set up sftp on a winXP

Re: michael's openssh for windows

2003-08-14 Thread Igor Pechtchanski
Glad I could help. chroot is tricky to set up, you might want to search the net for some working examples. DENY ACLs are a feature of WinNT-based systems (Win2k, WinXP, etc) -- they are not a feature of Cygwin proper. Igor On Tue, 12 Aug 2003, jwaterbrook wrote: > "Ssh passes no paramet

Re: michael's openssh for windows

2003-08-14 Thread Igor Pechtchanski
; From: "jwaterbrook" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, August 12, 2003 7:36 PM > Subject: Re: michael's openssh for windows > > > "Ssh passes no parameters to the login shell by default" > > This is exactly w

Re: michael's openssh for windows

2003-08-14 Thread jwaterbrook
A comment about the script method: for some reason, this didn't seem to return any result. I added /usr/bin/sftponly to the passwd file instead of /bin/sh or /bin/switch and created a /usr/bin/sftponly file with this inside: #!/bin/sh echo "$*" /bin/sh however, this did not create any output.

Re: michael's openssh for windows

2003-08-14 Thread jwaterbrook
"Ssh passes no parameters to the login shell by default" This is exactly what was confusing me. Thank you for clarifying. I redirected $* to a file and logged in different ways, sftp gave me output as you said, so this part of it works now. I looked at chroot, but I can't seem to get it to take.

Re: michael's openssh for windows

2003-08-14 Thread jwaterbrook
"I have to say that this list does not provide support for truncated versions of Cygwin downloaded from other sites" Let's just say that I was using the normal installation ;) Yes, I came in to this discussion because I knew the procedure would be very similar if not the same. Someday I may want

Re: michael's openssh for windows

2003-08-14 Thread Igor Pechtchanski
Now that I finally realized which "Michael" you were talking about in the subject, I have to say that this list does not provide support for truncated versions of Cygwin downloaded from other sites, such as Michael Erdely's openssh installation. However, the instructions would be the same for the

Re: michael's openssh for windows

2003-08-14 Thread Mark Priest
Would it help if you used scp instead of sftp? The nature of sftp alows you to browse directories while scp does not. -Mark - Original Message - From: "jwaterbrook" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 12, 2003 7:36 PM Subject: Re:

Re: michael's openssh for windows

2003-08-14 Thread jwaterbrook
I played with this a bit last night and chatted with a few friends and I think I found my solution. I created a directory on the my "D Drive" and called it SSH_SHARED (ie d:\ssh_shared) I copied these files to it: c:\program files\openssh\bin\cygcrypto-0.9.7.dll to d:\ssh_shared\bin\cygcrypto-0

Re: michael's openssh for windows

2003-08-14 Thread Igor Pechtchanski
Johnny, Ssh passes no parameters to the login shell by default (as your output clearly shows). You have to check for the parameters passed by other programs, like sftp (make sure you don't print things to stdout, as they'll be interpreted as program messages -- better redirect the output to some

Re: michael's openssh for windows

2003-08-14 Thread jwaterbrook
I decided to give that a shot, however, as I expected, that gave no output either. ---OUTPUT--- Last login: Tue Aug 12 10:50:24 2003 from ..com Parameters: $ ---END OUTPUT--- Somehow, nothing is getting passed. Like I said before, it could be the distribution. If anyone has any free ti

RE: michael's openssh for windows

2003-08-14 Thread Vince Hoffman
going though. ;) Vince > -Original Message- > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] > Sent: 13 August 2003 04:27 > To: Mark Priest > Cc: jwaterbrook; [EMAIL PROTECTED] > Subject: Re: michael's openssh for windows > > > Mark, > > The chroot ap

Re: michael's openssh for windows

2003-08-14 Thread Igor Pechtchanski
You might try to change that script to #!/bin/sh echo "Parameters: $@" exec /bin/sh "$@" Hope this helps, Igor On Tue, 12 Aug 2003, jwaterbrook wrote: > A comment about the script method: > > for some reason, this didn't seem to return any result. > I added /usr/bin/sftponly to the pass

michael's openssh for windows

2003-08-11 Thread jwaterbrook
I'd prefer not to start a new thread, but I've been searching for the past few hours with no luck. I needed a fast way to set up sftp on a winXP box, so I did a little google search and found lexa.mckenna.edu/sshwindows/ had a clean and easy way of doing this. I changed the regestry setting "/h

Re: michael's openssh for windows

2003-08-11 Thread Igor Pechtchanski
The thread starting at might be of help. Igor On Mon, 11 Aug 2003, jwaterbrook wrote: > I haven't seemed to get very far with this, > I was hoping someone might be able to point a blind man in the right > direction :) > > Waterbrook, Joh