Mailing List Archive

[Bug 1483] Unable to select desired (DSA) key file
https://bugzilla.mindrot.org/show_bug.cgi?id=1483





--- Comment #3 from Randy <bugzilla@data-warp.com> 2008-12-06 03:19:44 ---
Created an attachment (id=1582)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1582)
Script to help demonstrate bug in "ssh -i id_rsa-xxx ..."

Execute this script several times with different arguments. Example:

sshd-bug.sh TEST1
sshd-bug.sh TEST2
sshd-bug.sh TEST3

Intermix execution of the basic ssh command. Example:

ssh -t -i /home/randy/.ssh/id_rsa-BUG-TEST2 localhost

The commands will echo the last tunnel that was created,
not the tunnel explicitly referenced by "-i .../id_rsa-BUG-...".
If a primitive Linux console is used, the correct tunnel is used.

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1483] Unable to select desired (DSA) key file [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=1483


Randy <bugzilla@data-warp.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla@data-warp.com




--- Comment #4 from Randy <bugzilla@data-warp.com> 2008-12-06 03:26:22 ---
Last week I submitted bug 302252 to https://bugs.launchpad.net
I suspect it is related to this 1483 item in
https://bugzilla.mindrot.org

The wrong identity key is being used by "ssh -i id_rsa-xxx ...".

Miller's comment above "If an agent is present, keys in it are
always
tried first" really caught my attention. The problem I reported
includes a bizarre behavior, where it fails when "ssh -i id_rsa-xxx
..." is executed in X-windows, but works okay when executed in a
primitive Linux console (obtained via ctl-alt-F5).

My knowledge of ssh and agents is very limited. Does "agent"
behavior
change when running within X-windows versus a primitive Linux
console?
How do I disable agents on Ubuntu?

See the "sshd-bug.sh" script... attached to another post here.

Randy

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs