blob: 165579ba9b8fce92a3ac28ebb9075b73c8e46a0d [file] [log] [blame]
roman3adc7c02023-10-25 11:10:58 +02001{
2 "ietf-netconf-server:netconf-server": {
3 "listen": {
4 "idle-timeout": 10,
Roytak396f7272024-03-27 15:00:20 +01005 "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
roman3adc7c02023-10-25 11:10:58 +020013 },
Roytak396f7272024-03-27 15:00:20 +010014 "ssh-server-parameters": {
15 "server-identity": {
16 "host-key": [
roman3adc7c02023-10-25 11:10:58 +020017 {
Roytak396f7272024-03-27 15:00:20 +010018 "name": "key",
19 "public-key": {
roman3adc7c02023-10-25 11:10:58 +020020 "inline-definition": {
Roytak396f7272024-03-27 15:00:20 +010021 "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=="
roman3adc7c02023-10-25 11:10:58 +020025 }
26 }
27 }
28 ]
Roytak396f7272024-03-27 15:00:20 +010029 },
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 }
roman3adc7c02023-10-25 11:10:58 +020085 }
86 }
87 }
88 }
Roytak396f7272024-03-27 15:00:20 +010089 ]
90 }
roman3adc7c02023-10-25 11:10:58 +020091 }
92 }
romane3c3f002023-10-26 15:34:37 +020093}