Displaying 20 results from an estimated 9000 matches similar to: "[Bug 3529] New: `add_host_to_hostfile` should take into consideration that the known_hosts file isn't terminated with a newline character."
2006 Feb 04
2
[PATCH] allow user to update changed key in known_hosts
Hi list,
I use ssh a lot and I often need to connect to hosts whose host key has
changed. If a host key of the remote host changes ssh terminates and the
user has to manually delete the offending host key from known_hosts. I
had to do this so many times that I no longer like the idea ;-)
I would really like ssh to ask me if the new host key is OK and if I
want to add it to known_hosts.
I talked
2004 Oct 03
0
[patch] tell user about hosts with same key
The attached patch implements a feature that would make my interaction
with ssh somewhat more secure. When connecting to a host whose key is
not in the known_hosts file, this patch makes ssh tell the user about any
other hosts in the known_hosts file that have the same key.
For example, if I have host A in my known_hosts file, and try to connect
to host B which is an alias for A, ssh will tell
2008 Oct 29
0
ssh disregarding umask for creation of known_hosts (and other files?)
Hey folks--
When ssh creates a known_hosts file for a user, it disregards the
currently-set umask, and can actually turn on mode bits that the user
has explicitly masked. While i'm happy to have ssh make files *more*
secure than my umask (in situations where that's reasonable, like the
creation of new ssh keys, etc), i'm not sure that i see the point in
ssh making the files more open
2009 Sep 26
0
[Bug 1654] New: ~/.ssh/known_hosts.d/*
https://bugzilla.mindrot.org/show_bug.cgi?id=1654
Summary: ~/.ssh/known_hosts.d/*
Product: Portable OpenSSH
Version: 5.1p1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: josh at
2013 Nov 11
4
[Bug 2169] New: command to remove outdated hostkey from known_hosts file wrong
https://bugzilla.mindrot.org/show_bug.cgi?id=2169
Bug ID: 2169
Summary: command to remove outdated hostkey from known_hosts
file wrong
Product: Portable OpenSSH
Version: 6.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: ssh
2019 Oct 20
5
[Bug 3083] New: Passing tilde (HOME) in file option results in cryptic error
https://bugzilla.mindrot.org/show_bug.cgi?id=3083
Bug ID: 3083
Summary: Passing tilde (HOME) in file option results in cryptic
error
Product: Portable OpenSSH
Version: 8.1p1
Hardware: ix86
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh-keygen
2004 Aug 05
0
[Bug 910] known_hosts port numbers
http://bugzilla.mindrot.org/show_bug.cgi?id=910
Summary: known_hosts port numbers
Product: Portable OpenSSH
Version: 3.7.1p2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: devin.nate at
2020 Jul 17
0
[Bug 1654] ~/.ssh/known_hosts.d/*
https://bugzilla.mindrot.org/show_bug.cgi?id=1654
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Darren Tucker <dtucker at
2003 Mar 27
1
[Bug 523] ssh saves only host/ip information in known_hosts while port information is missing
http://bugzilla.mindrot.org/show_bug.cgi?id=523
Summary: ssh saves only host/ip information in known_hosts while
port information is missing
Product: Portable OpenSSH
Version: 3.5p1
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
2010 Jun 29
2
[Bug 1788] New: simple option to ignore known_hosts
https://bugzilla.mindrot.org/show_bug.cgi?id=1788
Summary: simple option to ignore known_hosts
Product: Portable OpenSSH
Version: 5.5p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: avalon at
2024 Feb 14
1
How to remove old entries from known_hosts?
On 14/02/2024 11:42, Chris Green wrote:
> Is there any way to remove old entries from the known_hosts file? With
> the hashed 'names' one can't easily see which entries are which. I
> have around 150 lines in my known hosts but in reality I only ssh to a
> dozen or so systems. All the redundant ones are because I have a
> mixed population of Raspberry Pis and such on
2001 Feb 20
0
segfault on RH 6.2 with 2.5.1p1 going to a host not in ~/.ssh/known_hosts
I recently upgraded all my boxes to 2.5.1p1 (it was a convenient opportunity to
get rid of a lot of versions all floating around ...) I used the RPM for RH 6.2
from openssh.com. We have an openssl RPM, that I think I got from openssh.com too
(but that was a while ago :) ) - openssl-0.9.5a-2
I am seeing a problem, when ssh'ing from a redhat 6.2 box to a host that
is not in a user's
2015 Apr 24
0
[Bug 1654] ~/.ssh/known_hosts.d/*
https://bugzilla.mindrot.org/show_bug.cgi?id=1654
--- Comment #2 from Josh Triplett <josh at joshtriplett.org> ---
(In reply to Damien Miller from comment #1)
> This might be possible, though the known_hosts code is already
> rather overcomplex (despite recent simplification)
>
> In any case, there would still need to be at least one regular
> known_hosts file specified to
2016 Oct 26
2
[Bug 2631] New: Hostkey update and rotation - No IP entries added to known_hosts
https://bugzilla.mindrot.org/show_bug.cgi?id=2631
Bug ID: 2631
Summary: Hostkey update and rotation - No IP entries added to
known_hosts
Product: Portable OpenSSH
Version: 7.3p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
2010 Aug 20
1
[Feature Request] delete defined line in known_hosts file
Hi,
for a test lab, I'm trying to write a small shell script that will
eradicate all information regarding a special host from the
known_hosts file. Unfortunately, it is quite non-trivial to find out
what ssh doesn't like with a host.
ssh says which line in known_hosts has the offending key, but
ssh-keygen -R doesn't take a line number. Am I using an undocumented
interface when I
2008 Jun 12
3
[Bug 1476] New: .ssh/known_hosts does not save port number
https://bugzilla.mindrot.org/show_bug.cgi?id=1476
Summary: .ssh/known_hosts does not save port number
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.0p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at
2017 Jul 05
9
[Bug 2738] New: UpdateHostKeys does not check keys in secondary known_hosts files
https://bugzilla.mindrot.org/show_bug.cgi?id=2738
Bug ID: 2738
Summary: UpdateHostKeys does not check keys in secondary
known_hosts files
Product: Portable OpenSSH
Version: 7.4p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: ssh
2002 May 19
0
using full ip/tcp address in known_hosts
Hello,
What about using the full ip/tcp address in known_hosts?
I have two hosts at (sample addresses):
192.168.0.1:22
192.168.0.1:2222
When I connect to the first one everything is OK,
but if I connect to the second one I get:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
2005 Jun 22
0
known_hosts file and server keys
Hello,
for some time now I wonder about the way the known_hosts file contains the
server keys. Let's look at a part of my known_hosts file:
shell.sf.net,66.35.250.208 ssh-dss AAAAB3NzaC1kc3MAAACBA...
shell.sourceforge.net ssh-dss AAAAB3NzaC1kc3MAAACBA...
As you can see, there are two entries, which describe the same host. When
the file is empty and I do each connect after another, I
2012 Nov 01
1
[Bug 2045] New: point user to ssh-keygen -R to remove key from known_hosts
https://bugzilla.mindrot.org/show_bug.cgi?id=2045
Priority: P5
Bug ID: 2045
Assignee: unassigned-bugs at mindrot.org
Summary: point user to ssh-keygen -R to remove key from
known_hosts
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: thomas at koch.ro
Hardware: All