Stuff

Interesting and not so interesting stuff

Examples of JAP_LOCAL/REMOTE_SSH.json

Example 1: LOCAL/REMOTE_PROXY_SERVER

You can generate a public/private key file (KP.pem) with KP.bat.

JAP_LOCAL_SSH.json:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
    "LOCAL_PROXY_SERVER":
    {
        "ADDRESS": "127.0.0.1",
        "PORT": 1080,
        "KEYS":
        [
            {
                "PUBLIC":
                {
                    "FILE": "KP.pem",
                    "PASSPHRASE": ""
                },
                "PRIVATE":
                {
                    "FILE": "KP.pem",
                    "PASSPHRASE": ""
                }
            }
        ]
    },
    "REMOTE_PROXY_SERVERS":
    [
        {
            "ADDRESS": "127.0.0.1",
            "PORT": 8022,
            "AUTHENTICATION":
            {
                "USERNAME": "1",
                "PASSWORD": "2"
            },
            "KEY":
            {
                "AUTHENTICATION":
                {
                    "FINGERPRINT": ""
                }
            }
        }
    ]
}

JAP_REMOTE_SSH.json:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"REMOTE_PROXY_SERVER":
{
    "ADDRESS": "127.0.0.1",
    "PORT": 8022,
    "AUTHENTICATION":
    [
        {
            "USERNAME": "1",
            "PASSWORD": "2"
        }
    ],
    "KEY":
    {
        "PUBLIC":
        {
            "FILE": "KP.pem",
            "PASSPHRASE": ""
        },
        "PRIVATE":
        {
            "FILE": "KP.pem",
            "PASSPHRASE": ""
        }
    }
}

Example 2: LOCAL/REMOTE_PROXY_SERVER

JAP_LOCAL_SSH.json:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
    "LOCAL_PROXY_SERVER":
    {
        "ADDRESS": "127.0.0.1",
        "PORT": 1080,
        "KEYS":
        [
            {
                "PUBLIC":
                {
                    "FILE": "KP.pem",
                    "PASSPHRASE": ""
                },
                "PRIVATE":
                {
                    "FILE": "KP.pem",
                    "PASSPHRASE": ""
                }
            }
        ]
    },
    "REMOTE_PROXY_SERVERS":
    [
        {
            "ADDRESS": "127.0.0.1",
            "PORT": 8022,
            "AUTHENTICATION":
            {
                "USERNAME": "1",
                "PASSWORD": ""
            },
            "KEY":
            {
                "AUTHENTICATION":
                {
                    "FINGERPRINT": ""
                }
            }
        }
    ]
}

JAP_REMOTE_SSH.json:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"REMOTE_PROXY_SERVER":
{
    "ADDRESS": "127.0.0.1",
    "PORT": 8022,
    "AUTHENTICATION":
    [
        {
            "USERNAME": "1",
            "PASSWORD": "",
            "KEYS":
            [
                {
                    "PUBLIC":
                    {
                        "FILE": "KP.pem",
                        "PASSPHRASE": ""
                    }
                }
            ]
        }
    ],
    "KEY":
    {
        "PUBLIC":
        {
            "FILE": "KP.pem",
            "PASSPHRASE": ""
        },
        "PRIVATE":
        {
            "FILE": "KP.pem",
            "PASSPHRASE": ""
        }
    }
}