I just took a quick look. It depends on both LayeredProtocol and SSL,
but SSL won't load as HierarchicalUrl is missing.
thanks,
Robert
On 10/13/2015 04:02 AM, Thierry Goubier wrote:
2015-10-13 9:46 GMT+02:00 Robert Withers <robert.w.with...@gmail.com
<mailto:robert.w.with...@gmail.com>>:
Would the SSH package in Cryptography help you?
I don't know. I just delegate to git for handling the ssh stuff; Pharo
has little to gain by manipulating ssh by itself in that use case (but,
overalll, I believe ssh support to be usefull).
I'll have a look.
Thierry
thanks,
Robert
On 10/13/2015 03:36 AM, Thierry Goubier wrote:
2015-10-13 9:29 GMT+02:00 Peter Uhnák <i.uh...@gmail.com
<mailto:i.uh...@gmail.com>
<mailto:i.uh...@gmail.com <mailto:i.uh...@gmail.com>>>:
On Tue, Oct 13, 2015 at 8:11 AM, Thierry Goubier
<thierry.goub...@gmail.com
<mailto:thierry.goub...@gmail.com>
<mailto:thierry.goub...@gmail.com
<mailto:thierry.goub...@gmail.com>>> wrote:
Hi Hernàn,
I'm not familiar with the use of ssh-agent. Could it
interfere
with someone using his own keys (i.e. without
ssh-agent)? Would
this be necessary for linux or mac use of ssh-agent, or
is ssh /
git correctly done on those platforms to query
ssh-agent on its
own if it is already running?
I'm using ssh-agent on both windows and linux, and having
aforementioned variables (SSH_AGENT_PID, SSH_AUTH_SOCK) in the
environment is enough for git to automatically use it, no
need to
prefix it.
This is what I expected. Is that different under Windows?
In any case I have notes about the implementation:
1. it assumes that it runs only on windows (it looks like this
should be generic code)
Well, as you said above, the environment under Linux/Mac takes
care of
the interaction with ssh-agent... so there is no need to handle
that on
the Linux/Mac side (OSProcess) versus Windows (ProcessWrapper).
2. it assumes that ssh-agent will be always installed in a
specific
path, it should rely on PATH instead
Noted.
3: Windows has its own system for global env variables, so
why not
use that?
So instead of doing some process lookups you simply get
$Env:SSH_AUTH_SOCK" (well, I use powershell... but the bat
version
is I think %SSH_AUTH_SOCK%)
But the thing is: if I can query for environment variables in
Windows,
then so can the git command as well, which would mean it would
pick-up
the use of ssh-agent, no? Or should I try to manipulate the process
Anyway, I appreciate you're having a look at it. Thanks!
Thierry
Peter