Displaying 7 results from an estimated 7 matches for "agent_pid".
Did you mean:
agent_id
2003 Feb 19
0
[Bug 500] New: show how to start-up ssh-agent by default...
...NING" = "" ]; then
# start it if not
eval `ssh-agent -s`
# also add default entity
( sleep 5; env DISPLAY=:0 SSH_ASKPASS=/usr/local/bin/gnome-ssh-askpass
ssh-add ~/.ssh/identity ~/.ssh/id_dsa )&
else
# check if environment variables set
if [ -z "$SSH_AGENT_PID" ] ; then
# if not we set it
# Note: if SSH_AGENT_PID is set we assume that it is set correctly and
# also SSH_AUTH_SOCK is set
export SSH_AGENT_PID=`echo $SSH_AGENT_RUNNING | cut -f 1 -d ' '`
# Unfortunatly PID in SSH_AUTH_SOCK is not the same as AGENT_PID.
# Heuristic: u...
2025 Jan 10
2
[PATCH v2] ssh-add: support external parsing of key listing
...++
ssh-add.c | 10 +++++----
5 files changed, 51 insertions(+), 37 deletions(-)
diff --git a/regress/agent-restrict.sh b/regress/agent-restrict.sh
index 62cea8522..9d3fd71ac 100644
--- a/regress/agent-restrict.sh
+++ b/regress/agent-restrict.sh
@@ -204,8 +204,8 @@ trap "kill $AGENT_PID" EXIT
sleep 4 # Give it a chance to start
# Check that it's running.
${SSHADD} -l > /dev/null 2>&1
-if [ $? -ne 1 ]; then
- fail "ssh-add -l did not fail with exit code 1"
+if [ $? -ne 0 ]; then
+ fail "ssh-add -l did not fail with exit code 0"
fi
verbo...
2025 Jan 10
1
[PATCH v2] ssh-add: support external parsing of key listing
...2 ++++++++++++++++++
ssh-add.c | 10 +++++----
5 files changed, 51 insertions(+), 37 deletions(-)
diff --git a/regress/agent-restrict.sh b/regress/agent-restrict.sh
index 62cea8522..9d3fd71ac 100644
--- a/regress/agent-restrict.sh
+++ b/regress/agent-restrict.sh
@@ -204,8 +204,8 @@ trap "kill $AGENT_PID" EXIT
sleep 4 # Give it a chance to start
# Check that it's running.
${SSHADD} -l > /dev/null 2>&1
-if [ $? -ne 1 ]; then
- fail "ssh-add -l did not fail with exit code 1"
+if [ $? -ne 0 ]; then
+ fail "ssh-add -l did not fail with exit code 0"
fi
verbose &qu...
2025 Jan 09
2
[PATCH] ssh-add: support parser-friendly operation
From: Corey Hickey <chickey at tagged.com>
When ssh-add is used in a script like:
if ! KEY_LISTING=$(ssh-add -l 2>&1) ; then
echo "SSH agent error" >&2
exit 2
fi
...the operation fails when there is an agent but there are no keys in
the agent. This is because ssh-add exits with status of 1. If the
intent is to examine the keys in the agent,
2006 Mar 02
1
[Bug 1168] sftp fails to HP - UX os even when pubic keys are present in HP-UX
...n i try to use sftp from other systems to HP -UX where ssh is installed
it is not working fine as excepted.
In brief i will mention the steps i followed.
1) Create a ssh-agent (client)by giving
eval `ssh-agent`
And get its PID.
2)Then set the environment variables as
-- export SSH_AGENT_PID=<ssh-agent_PID>>
Then go to ?cd /tmp? and then do a ?ls -lrt? to find some directory which
is of name ?ssh-___? and then get into that ssh-____ directory ? you will have
some file with the name ?agent.xxxxx?
-- export SSH_AUTH_SOCK=<complete path as you find from above pwd comma...
2006 Mar 03
1
[Bug 1170] sftp fails to HP - UX os even when pubic keys are present in HP-UX
...n i try to use sftp from other systems to HP -UX where ssh is installed
it is not working fine as excepted.
In brief i will mention the steps i followed.
1) Create a ssh-agent (client)by giving
eval `ssh-agent`
And get its PID.
2)Then set the environment variables as
-- export SSH_AGENT_PID=<ssh-agent_PID>>
Then go to ?cd /tmp? and then do a ?ls -lrt? to find some directory which
is of name ?ssh-___? and then get into that ssh-____ directory ? you will have
some file with the name ?agent.xxxxx?
-- export SSH_AUTH_SOCK=<complete path as you find from above pwd comma...
2006 Mar 02
4
[Bug 1167] sftp fails to HP - UX os even when pubic keys are present in HP-UX
...n i try to use sftp from other systems to HP -UX where ssh is installed
it is not working fine as excepted.
In brief i will mention the steps i followed.
1) Create a ssh-agent (client)by giving
eval `ssh-agent`
And get its PID.
2)Then set the environment variables as
-- export SSH_AGENT_PID=<ssh-agent_PID>>
Then go to ?cd /tmp? and then do a ?ls -lrt? to find some directory which
is of name ?ssh-___? and then get into that ssh-____ directory ? you will have
some file with the name ?agent.xxxxx?
-- export SSH_AUTH_SOCK=<complete path as you find from above pwd comma...