roman | 3adc7c0 | 2023-10-25 11:10:58 +0200 | [diff] [blame] | 1 | { |
| 2 | "ietf-netconf-server:netconf-server": { |
| 3 | "listen": { |
| 4 | "idle-timeout": 10, |
Roytak | 396f727 | 2024-03-27 15:00:20 +0100 | [diff] [blame] | 5 | "endpoints": { |
| 6 | "endpoint": [ |
| 7 | { |
| 8 | "name": "ssh-password-auth-endpt", |
| 9 | "ssh": { |
| 10 | "tcp-server-parameters": { |
| 11 | "local-address": "127.0.0.1", |
| 12 | "local-port": 10000 |
roman | 3adc7c0 | 2023-10-25 11:10:58 +0200 | [diff] [blame] | 13 | }, |
Roytak | 396f727 | 2024-03-27 15:00:20 +0100 | [diff] [blame] | 14 | "ssh-server-parameters": { |
| 15 | "server-identity": { |
| 16 | "host-key": [ |
roman | 3adc7c0 | 2023-10-25 11:10:58 +0200 | [diff] [blame] | 17 | { |
Roytak | 396f727 | 2024-03-27 15:00:20 +0100 | [diff] [blame] | 18 | "name": "key", |
| 19 | "public-key": { |
roman | 3adc7c0 | 2023-10-25 11:10:58 +0200 | [diff] [blame] | 20 | "inline-definition": { |
Roytak | 396f727 | 2024-03-27 15:00:20 +0100 | [diff] [blame] | 21 | "public-key-format": "ietf-crypto-types:ssh-public-key-format", |
| 22 | "public-key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDRIB2eNSRWU+HNWRUGKr76ghCLg8RaMlUCps9lBjnc6ggaJl2Q+TOLn8se2wAdK3lYBMz3dcqR+SlU7eB8wJAc=", |
| 23 | "private-key-format": "ietf-crypto-types:ec-private-key-format", |
| 24 | "cleartext-private-key": "MHcCAQEEICQ2fr9Jt2xluom0YQQ7HseE8YTo5reZRVcQENKUWOrooAoGCCqGSM49AwEHoUQDQgAENEgHZ41JFZT4c1ZFQYqvvqCEIuDxFoyVQKmz2UGOdzqCBomXZD5M4ufyx7bAB0reVgEzPd1ypH5KVTt4HzAkBw==" |
roman | 3adc7c0 | 2023-10-25 11:10:58 +0200 | [diff] [blame] | 25 | } |
| 26 | } |
| 27 | } |
| 28 | ] |
Roytak | 396f727 | 2024-03-27 15:00:20 +0100 | [diff] [blame] | 29 | }, |
| 30 | "client-authentication": { |
| 31 | "users": { |
| 32 | "user": [ |
| 33 | { |
| 34 | "name": "admin", |
| 35 | "password": "$0$admin" |
| 36 | } |
| 37 | ] |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | }, |
| 43 | { |
| 44 | "name": "ssh-pubkey-auth-endpt", |
| 45 | "ssh": { |
| 46 | "tcp-server-parameters": { |
| 47 | "local-address": "127.0.0.1", |
| 48 | "local-port": 10001 |
| 49 | }, |
| 50 | "ssh-server-parameters": { |
| 51 | "server-identity": { |
| 52 | "host-key": [ |
| 53 | { |
| 54 | "name": "key", |
| 55 | "public-key": { |
| 56 | "inline-definition": { |
| 57 | "public-key-format": "ietf-crypto-types:ssh-public-key-format", |
| 58 | "public-key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDRIB2eNSRWU+HNWRUGKr76ghCLg8RaMlUCps9lBjnc6ggaJl2Q+TOLn8se2wAdK3lYBMz3dcqR+SlU7eB8wJAc=", |
| 59 | "private-key-format": "ietf-crypto-types:ec-private-key-format", |
| 60 | "cleartext-private-key": "MHcCAQEEICQ2fr9Jt2xluom0YQQ7HseE8YTo5reZRVcQENKUWOrooAoGCCqGSM49AwEHoUQDQgAENEgHZ41JFZT4c1ZFQYqvvqCEIuDxFoyVQKmz2UGOdzqCBomXZD5M4ufyx7bAB0reVgEzPd1ypH5KVTt4HzAkBw==" |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | ] |
| 65 | }, |
| 66 | "client-authentication": { |
| 67 | "users": { |
| 68 | "user": [ |
| 69 | { |
| 70 | "name": "admin", |
| 71 | "public-keys": { |
| 72 | "inline-definition": { |
| 73 | "public-key": [ |
| 74 | { |
| 75 | "name": "admin_key.pub", |
| 76 | "public-key-format": "ietf-crypto-types:ssh-public-key-format", |
| 77 | "public-key": "AAAAC3NzaC1lZDI1NTE5AAAAIOr46rptg6BsWhO1JMomuh3cuCYmeuO6JfOUPs/YO35w" |
| 78 | } |
| 79 | ] |
| 80 | } |
| 81 | } |
| 82 | } |
| 83 | ] |
| 84 | } |
roman | 3adc7c0 | 2023-10-25 11:10:58 +0200 | [diff] [blame] | 85 | } |
| 86 | } |
| 87 | } |
| 88 | } |
Roytak | 396f727 | 2024-03-27 15:00:20 +0100 | [diff] [blame] | 89 | ] |
| 90 | } |
roman | 3adc7c0 | 2023-10-25 11:10:58 +0200 | [diff] [blame] | 91 | } |
| 92 | } |
roman | e3c3f00 | 2023-10-26 15:34:37 +0200 | [diff] [blame] | 93 | } |