Doesn't recognise SSH v1 host keys in known_hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-sshsearch-lens |
Won't Fix
|
Wishlist
|
Bernd Schlapsi |
Bug Description
I sometimes have to SSH to devices which don't support SSH v2. For example, some old Cisco routers still in use as terminal servers (think OOB serial consoles) don't support SSHv2. These devices therefore have v1 host keys, and the sshsearch lens does not appear to consider them valid.
Here's an example of what one looks like in known_hosts (contents are fake, sorry I cannot give you a real host name to try to connect to).
ts-tfm4.
As a work-around you can of course list such hosts in your ~/.ssh/config.
I'm using paramiko (http:// www.lag. net/paramiko/) to parse the known_hosts and .ssh/config files. This library is SSH2 protocol only. /extensions. gnome.org/ extension/ 73/ssh- search- provider/) because there isn't a library for javascript to parse the SSH files.
I don't want to implement the parsing part on my own. I already did this for my Gnome extension (https:/
Also I don't think that a lot of people using SSH v1, but when there is still your described workaround with the ~/.ssh/config file
Furthermore I prefer to rely on a library for this job. But if you would like to provide a patch for this feature request I will have a look at it and integrate this feature into my version.