SSH, scp, and sftp clients and servers both support various encryption algorithms. Although the final decision rests with the server, the algorithm must be present in the client's provided list and also be supported by the server. Therefore, the client needs to list its most desired algorithms first.