On Mon, May 24, 2010 at 19:19:24 +0000, Radoslav Dorcik wrote: > Here is early prototype (not in darcs yet): > > https://patch-tag.com/r/dixiecko/detectSSH/snapshot/current/content/pretty/src/detectSSH.hs
Thanks! Nice to see you pick something else up after the diff issues. Steering this to darcs-users as it's a discussion > Pending issues: > - error handling (interrupted blocked commands) > - detection for sftp/scp from ssh/plink > - testing on real environment (windows/linux, with ssh/plink) > > and find the best way how to include that into Darcs/Globals.hs and use > that in Ssh.hs. > Is this right way how to solve -P/-p problem (challenge/response query > over command line) ? If I understand correctly, you're trying different ssh commands (plink -P, ssh -p, etc) in succession and returning the first one which succeeds. It looks like you need to feed it arguments (something to connect to?) for the test to work. Is there a way to just call it without trying to make a connection? If not, what if the test fails legitimately (eg. can't connect to server). Also, could the test fail "legitimately"? What if the user renames their plink to ssh? Also, how would this interact with DARCS_SSH (in your opinion?) You may be particularly interested in http://bugs.darcs.net/issue1576 which if I understand correctly, would naturally subsume this work. Also, you may be interested to note that I've heard one report that MSYS OpenSSH actually works just fine and dandy with Darcs under the DOS command line (and unless Salvatore chimes in), we could perhaps start steering users towards that instead? This would side-step some other issues, particularly http://bugs.darcs.net/issue845 Thanks, -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
signature.asc
Description: Digital signature
_______________________________________________ darcs-users mailing list darcs-users@darcs.net http://lists.osuosl.org/mailman/listinfo/darcs-users