Questions tagged [algorithms]
The algorithms tag has no summary.
23 questions
3 votes
2 answers
5k views
Configure SSHD via Red Hat crypto-policy
I am using Rocky Linux 8 and 9 and they use the crypto-policy framework from Red Hat. Now I want to adjust some settings in the policy to forbid sshd to use some specific algorithms. But I can not ...
-2 votes
1 answer
920 views
round-robin in bash script
i have this task to do, but im actually stuck with this round-robin algorithm, here's the details input file there are 3 process A, B and C second column is the arrival time third column is nut value ...
2 votes
1 answer
2k views
How to reposition the elements of a json array conditionally using jq?
I want to re-position elements of an array (change index of array elements) based on a condition. I don't know how to translate this to jq which is more of a functional language. Basically I want to ...
9 votes
1 answer
3k views
GRUB alternative for LUKS2 with Argon2ID support
It seems that the even the most recent version of GRUB2 doesn't support LUKS2 with the PBKDF Argon2ID (source). The Raspberry Pi bootloader for instance fully supports this new hashing function. Is ...
-2 votes
1 answer
722 views
Why is it not possible to use SJF (Shortest Job first) in Linux? [closed]
why it is not possible to use SJF as the scheduling algorithm for Linux?
1 vote
1 answer
817 views
Restrict Access to SSH server based on incoming key type
I am running ubuntu 18.04.3 server HWE edition in my local lab and while reading the manuals I came across the issue that I am unable to determine how to exclude users from connecting to my server via ...
1 vote
2 answers
997 views
Transforming if statement in case
I'm currently testing changes in my scripts for performance purposes. Specifically, I want to change if to case statements. However, being new to shell programming I'm getting stuck on this type of ...
3 votes
1 answer
3k views
OpenSSH accesslog : Logging ciphers, MAC and user agent
How to log the Protocol, KexAlgorithm, Cipher and MAC algorithm negociated by the client and the client's user agent string? What I'm looking for is the OpenSSH equivalent to Apache HTTPD's CustomLog+...