mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-16 01:15:04 +01:00
Add tests
This commit is contained in:
parent
26cdcd0524
commit
688394cac9
5 changed files with 72 additions and 2 deletions
12
bin/cluelesshd/tests/openssh-client/different-algorithms.sh
Normal file
12
bin/cluelesshd/tests/openssh-client/different-algorithms.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# KEX
|
||||
printf $"exit\r" | ssh -oKexAlgorithms=curve25519-sha256 -p "$PORT" "$HOST"
|
||||
printf $"exit\r" | ssh -oKexAlgorithms=ecdh-sha2-nistp256 -p "$PORT" "$HOST"
|
||||
|
||||
# Encryption
|
||||
printf $"exit\r" | ssh -oCiphers=chacha20-poly1305@openssh.com -p "$PORT" "$HOST"
|
||||
printf $"exit\r" | ssh -oCiphers=aes256-gcm@openssh.com -p "$PORT" "$HOST"
|
||||
|
||||
# Host Key
|
||||
printf $"exit\r" | ssh -oHostKeyAlgorithms=ssh-ed25519 -p "$PORT" "$HOST"
|
||||
Loading…
Add table
Add a link
Reference in a new issue