From 77f2ab719c50b27b4aeca4d7cbd4b1398337ed78 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Thu, 31 Oct 2024 22:39:09 +0100 Subject: sftp: Let a selection of tests use private key authentication Tests switch between password authentication and private key authentication depending on the hash of the method name. It's a fairly even spread. Update the docker config, it never wanted a pem file, it wanted a ssh-rsa format public key. --- libs/sftp/src/test/docker/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/sftp/src/test/docker/docker-compose.yml') diff --git a/libs/sftp/src/test/docker/docker-compose.yml b/libs/sftp/src/test/docker/docker-compose.yml index 973a942..d8321cd 100644 --- a/libs/sftp/src/test/docker/docker-compose.yml +++ b/libs/sftp/src/test/docker/docker-compose.yml @@ -6,7 +6,7 @@ services: volumes: - ./ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key - ./ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key - - ./user_public.pub:/home/user/.ssh/keys/id_rsa.pub:ro + - ./user_public.ssh:/home/user/.ssh/keys/id_rsa:ro - ../../../build/test-share:/home/user/share ports: - "127.0.0.1:10022:22" -- cgit v1.2.3-70-g09d2