bugzilla-daemon at bugzilla.mindrot.org
2018-Sep-09 05:44 UTC
[Bug 2903] New: ssh-keyscan returns '0' when no keys are found
https://bugzilla.mindrot.org/show_bug.cgi?id=2903
Bug ID: 2903
Summary: ssh-keyscan returns '0' when no keys are found
Product: Portable OpenSSH
Version: 7.6p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh-keyscan
Assignee: unassigned-bugs at mindrot.org
Reporter: robert at grizzell.me
ssh-keyscan returns with an exit status of '0' when DNS resolution of a
domain fails or an SSH connection can't be made. In instances where
scripting is involved, this leads to situations where there is no
indication that the command completed successfully. Authors are then
forced to capture and parse the output in order to test for a
successful run.
DNS Resolution:> ssh-keyscan shouldnotresolve.example
> echo $?
0
No SSH Service:> ssh-keyscan example.com
> echo $?
0
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jan-23 09:32 UTC
[Bug 2903] ssh-keyscan returns '0' when no keys are found
https://bugzilla.mindrot.org/show_bug.cgi?id=2903
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
CC| |djm at mindrot.org,
| |dtucker at dtucker.net
Attachment #3229| |ok?(dtucker at dtucker.net)
Flags| |
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 3229
--> https://bugzilla.mindrot.org/attachment.cgi?id=3229&action=edit
exit with status 1 if no keys found
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jan-23 09:32 UTC
[Bug 2903] ssh-keyscan returns '0' when no keys are found
https://bugzilla.mindrot.org/show_bug.cgi?id=2903
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |2915
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2915
[Bug 2915] Tracking bug for 8.0 release
--
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.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jan-23 09:50 UTC
[Bug 2903] ssh-keyscan returns '0' when no keys are found
https://bugzilla.mindrot.org/show_bug.cgi?id=2903
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3229|ok?(dtucker at dtucker.net) |ok+
Flags| |
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jan-27 10:54 UTC
[Bug 2903] ssh-keyscan returns '0' when no keys are found
https://bugzilla.mindrot.org/show_bug.cgi?id=2903
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
This has been committed and will be in openssh-8.0
--
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.
bugzilla-daemon at bugzilla.mindrot.org
2019-Oct-09 04:11 UTC
[Bug 2903] ssh-keyscan returns '0' when no keys are found
https://bugzilla.mindrot.org/show_bug.cgi?id=2903
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
Close bugs fixed in openssh-8.1 release cycle
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Oct-13 14:43 UTC
[Bug 2903] ssh-keyscan returns '0' when no keys are found
https://bugzilla.mindrot.org/show_bug.cgi?id=2903
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
Ahmed Sayeed <ahmedsayeed1982 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahmedsayeed1982 at yahoo.com
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
Close bugs fixed in openssh-8.1 release cycle
--- Comment #4 from Ahmed Sayeed <ahmedsayeed1982 at yahoo.com> ---
/gdb/arch/arc.c:117:43: required from here
http://www.compilatori.com/technology/download-videos/
/usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: error: no
matching function for call to ?std::pair<const arc_arch_features, const
std::unique_ptr<target_desc,
http://www-look-4.com/tech/honor-magicbook/
target_desc_deleter>>::pair(const arc_arch_features&, target_desc*&)?
: _M_v(std::forward<_Args>(__args)...) { }
http://www.acpirateradio.co.uk/technology/global-warming/
^
/usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: note: candidates
are: https://www.webb-dev.co.uk/crypto/crypto-fell/
In file included from /usr/include/c++/4.8.2/utility:70:0,
from /usr/include/c++/4.8.2/tuple:38,
http://www.logoarts.co.uk/technology/robot-vacuums/
from /usr/include/c++/4.8.2/functional:55,
from ../../gdb/../gdbsupport/ptid.h:35,
https://komiya-dental.com/shopping/buy-android/
from ../../gdb/../gdbsupport/common-defs.h:123,
from ../../gdb/arch/arc.c:19:
http://www.slipstone.co.uk/technology/cars-interior/
/usr/include/c++/4.8.2/bits/stl_pair.h:206:9: note: template<class ...
_Args1, long unsigned int ..._Indexes1, class ... _Args2, long unsigned
int ..._Indexes2> std::pair<_T1,
http://embermanchester.uk/technology/telegram/
_T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2
...>&,
std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>)
pair(tuple<_Args1...>&, tuple<_Args2...>&,
http://connstr.net/technology/nasa-latest/
^
-------->8---------
http://joerg.li/technology/b-class-cars/
Thanks to Tome de Vries' investigation, same fix applies in ARC's case
as well:
--------8<--------- http://www.jopspeech.com/travel/windows-11/
diff --git a/gdb/arch/arc.c b/gdb/arch/arc.c
index 3808f9f..a5385ce 100644
--- a/gdb/arch/arc.c
+++ b/gdb/arch/arc.c http://www.wearelondonmade.com/travel/renault/
@@ -114,7 +114,7 @@ struct arc_arch_features_hasher
target_desc *tdesc = arc_create_target_description (features);
https://waytowhatsnext.com/computers/discord-and-steam/
/* Add the newly created target description to the repertoire. */
- arc_tdesc_cache.emplace (features, tdesc);
http://www.iu-bloomington.com/sports/honda-civic/
+ arc_tdesc_cache.emplace (features, target_desc_up (tdesc));
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.