Add Sun_SSH support
See original GitHub issueI assume this is the issue, but am using your script to test vulnerability fixes on some Solaris hosts and the ones with Openssh installed work correctly. On the hosts with sun_ssh I get:
ssh-audit.py solaristst2
Traceback (most recent call last):
File "/usr/local/bin/ssh-audit.py", line 3016, in <module>
audit(conf)
File "/usr/local/bin/ssh-audit.py", line 3007, in audit
SSH2.HostKeyTest.run(s, kex)
File "/usr/local/bin/ssh-audit.py", line 625, in run
SSH2.HostKeyTest.__test(s, server_kex, kex_str, kex_group, SSH2.HostKeyTest.HOST_KEY_TYPES)
File "/usr/local/bin/ssh-audit.py", line 670, in __test
host_key = kex_group.recv_reply(s, variable_key_len)
File "/usr/local/bin/ssh-audit.py", line 2205, in recv_reply
raise Exception('Expected MSG_KEXDH_REPLY (%d) or MSG_KEXDH_GEX_REPLY (%d), but got %d instead.' % (SSH.Protocol.MSG_KEXDH_REPLY, SSH.Protocol.MSG_KEXDH_GEX_REPLY, packet_type))
Exception: Expected MSG_KEXDH_REPLY (31) or MSG_KEXDH_GEX_REPLY (33), but got 4 instead.
Installed ssh is:
root@solaristst2:~# ssh -V
Sun_SSH_2.4, SSH protocols 1.5/2.0, OpenSSL 0x100020cf
System isn’t fully updated but is fairly recent:
SunOS solaristst2 5.11 11.3 sun4v sparc sun4v
A system that returned usable info is set up as:
root@solarisprd2:# uname -a
SunOS solarisprd2 5.11 11.4.2.3.0 sun4v sparc sun4v
root@solarisprd2:# ssh -V
OpenSSH_7.5p1, OpenSSL 1.0.2p 14 Aug 2018
Let me know if there’s any other data/info you need or how I could help.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Managing Secure Shell Access in Oracle® Solaris 11.3
Locale – SunSSH fully supports language negotiation as specified in Secure Shell Transfer Protocol, RFC 4253. After the user logs in, the user's...
Read more >sunssh by B. E. - Issuu
On SunSSH Versioning • new versions added for protocol or security ... SunSSH with HW Crypto Support • problem: “SunSSH is slow on...
Read more >Secure Shell Connections (SunSSH) - TechDocs
Additionally, add the following line to disable authentication using Public Key: PubKeyAuthentication no. Restart the SunSSH service.
Read more >Deprecating SunSSH Options - OmniOS
On OmniOS, PAM support is always enabled. The UsePAM option is deprecated and ignored if found in the configuration file and should be...
Read more >Configuring the OpenSSH server on Solaris - IBM
IMPLEMENTATION ssh vendor vendor sunssh ssh system system openssh ... Optional: Install OpenSSH if it's not present in your system by using the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great! And you’re welcome!
Since I just made a stable release not too long ago, and because I’d like to make more improvements first, I’m not planning on releasing another stable version for at least a couple more weeks. But I always aim to keep the
dev
branch in good working order. So you can keep using that in the meantime.Please let me know if anything else goes wrong!
Very educated! That got it!
Thank you so much!