On 2011-10-30 20:04, Sime Ramov wrote:
> I've found the following clever ssh-agent stanza in Richard Crowley's
> `.profile`[https://raw.github.com/rcrowley/home/master/.profile]:
...
> It works partially, i.e. it spawns a new agent on every shell
> invocation.
It should probably test for functiona
A bit of an update. I went to find out the *simplest* possible way of
using ssh-agent.
echo 'eval `ssh-agent`' >> .xinitrc
Done. I just manually invoke ssh-add at first leisure. No need for any
fancy shell trickery.
> I've found the following clever ssh-agent stanza in Richard Crowley's
> `.profile`[https://raw.github.com/rcrowley/home/master/.profile]:
>
> which ssh-agent >/dev/null && {
> : ${SSH_AUTH_SOCK:=$(echo /tmp/ssh-*/agent.* | cut -d" " -f1)}
> [ -S "$SSH_AUTH_SOCK" ] && {
>
Reminds me http://www.ioccc.org :-)
On 10/30/2011 08:04 PM, Sime Ramov wrote:
I've found the following clever ssh-agent stanza in Richard Crowley's
`.profile`[https://raw.github.com/rcrowley/home/master/.profile]:
which ssh-agent>/dev/null&& {
: ${SSH_AUTH_SOCK:=$(echo /tmp/ssh-*/agen
I've found the following clever ssh-agent stanza in Richard Crowley's
`.profile`[https://raw.github.com/rcrowley/home/master/.profile]:
which ssh-agent >/dev/null && {
: ${SSH_AUTH_SOCK:=$(echo /tmp/ssh-*/agent.* | cut -d" " -f1)}
[ -S "$SSH_AUTH_SOCK" ] && {
export