Support of MAC algorithm in WinSCP
My client need to harden the MAC algorithm use for the connection, by disallowing "hmac-sha2-256-etm@openssh.com" while allowing "hmac-sha2-256". Checked the link https://winscp.net/eng/docs/ssh_algorithms, and use the command
WinSCP /info
, the MAC algorithm supported are listed below
My questions are:SSH MAC algorithms:
hmac-sha2-256 (hmac-sha2-256-etm@openssh.com)
hmac-sha2-512 (hmac-sha2-512-etm@openssh.com)
hmac-sha1 (hmac-sha1-etm@openssh.com)
hmac-sha1-96 (hmac-sha1-96-etm@openssh.com)
hmac-md5 (hmac-md5-etm@openssh.com)
- Are "hmac-sha2-256" and "hmac-sha2-256-etm@openssh.com" 2 distinct (but related?) algorithms?
- From the above table, does the item "hmac-sha2-256 (hmac-sha2-256-etm@openssh.com)" mean "hmac-sha2-256" and "hmac-sha2-256-etm@openssh.com" are both supported, instead of support "hmac-sha2-256" in form of "hmac-sha2-256-etm@openssh.com"?
- Checked from the log for the MAC algorithm in use and found "Initialised HMAC-SHA-256 outbound MAC algorithm". What does this mean? Does it mean support "hmac-sha-256", "hmac-sha2-256", or others?
- Found from post that the MAC algorithm is not configurable in WinSCP (https://winscp.net/forum/viewtopic.php?t=25983), is this still true? Is the MAC algorithm to be used are negotiable during the connection with the client that we cannot enforcedly to specify which one must be used?