1
1
# access-helper
2
2
3
- access-helper works with nclet and bridges users and ProblemEnvironment.
3
+ access-helper works with nclet and bridges users and ProblemEnvironment.
4
4
5
5
``` mermaid
6
6
sequenceDiagram
@@ -19,7 +19,7 @@ sequenceDiagram
19
19
U ->> AH: Answer question
20
20
end
21
21
22
- AH -->> LS: Access login shell
22
+ AH -->> LS: Access login shell
23
23
Note over U, LS: Start user session
24
24
```
25
25
@@ -67,16 +67,16 @@ topology:
67
67
68
68
` ` `
69
69
$ sudo clab -t manifest.yaml deploy
70
- INFO[0000] Containerlab v0.32.1 started
71
- INFO[0000] Parsing & checking topology file : manifest.yaml
72
- WARN[0000] it appears that container host has low memory available : ~0Gi. This might lead to runtime errors. Consider freeing up more memory.
73
- INFO[0000] Creating lab directory : /home/jp26081/test/clab-testlab
74
- INFO[0000] Creating container : " n2"
75
- INFO[0000] Creating container : " n1"
76
- INFO[0000] Creating virtual wire : n1:eth1 <--> n2:eth1
77
- INFO[0001] Adding containerlab host entries to /etc/hosts file
70
+ INFO[0000] Containerlab v0.32.1 started
71
+ INFO[0000] Parsing & checking topology file : manifest.yaml
72
+ WARN[0000] it appears that container host has low memory available : ~0Gi. This might lead to runtime errors. Consider freeing up more memory.
73
+ INFO[0000] Creating lab directory : /home/jp26081/test/clab-testlab
74
+ INFO[0000] Creating container : " n2"
75
+ INFO[0000] Creating container : " n1"
76
+ INFO[0000] Creating virtual wire : n1:eth1 <--> n2:eth1
77
+ INFO[0001] Adding containerlab host entries to /etc/hosts file
78
78
INFO[0001] 🎉 New containerlab version 0.32.3 is available! Release notes : https://containerlab.dev/rn/0.32/#0323
79
- Run 'containerlab version upgrade' to upgrade or go check other installation options at https://containerlab.dev/install/
79
+ Run 'containerlab version upgrade' to upgrade or go check other installation options at https://containerlab.dev/install/
80
80
+---+-----------------+--------------+-----------------------------------+-------+---------+-----------------+----------------------+
81
81
| # | Name | Container ID | Image | Kind | State | IPv4 Address | IPv6 Address |
82
82
+---+-----------------+--------------+-----------------------------------+-------+---------+-----------------+----------------------+
@@ -91,14 +91,14 @@ After deploying Lab, you can access nodes with access-helper. Note that you need
91
91
$ sudo ../access-helper -t manifest.yaml n1
92
92
/ # echo "Hello world!"
93
93
Hello world!
94
- / #
94
+ / #
95
95
96
96
$ sudo ../access-helper -t manifest.yaml n2
97
97
Welcome to OpenSSH Server
98
98
99
99
n2:~$ echo "Hello world!"
100
100
Hello world!
101
- n2:~$
101
+ n2:~$
102
102
logout
103
103
```
104
104
@@ -121,14 +121,18 @@ You can reject access from normal user to specific nodes with this label. "true"
121
121
122
122
If you don't set this label, both normal user and admin user can access nodes.
123
123
124
- ### ` netcon.janog.gr.jp/username `
124
+ ### ` netcon.janog.gr.jp/sshUsername ` , ` netcon.janog.gr.jp/sshUsernameForAdmin `
125
125
126
126
You can set user name for SSH with this label. This label will be ignored when you use "exec" access method.
127
127
128
- ### ` netcon.janog.gr.jp/password `
128
+ ` ForAdmin ` variant is used only for admin user (isAdmin == true).
129
+
130
+ ### ` netcon.janog.gr.jp/sshPassword ` , ` netcon.janog.gr.jp/sshPasswordForAdmin `
129
131
130
132
You can set password for SSH with this label. This label will be ignored when you use "exec" access method.
131
133
134
+ ` ForAdmin ` variant is used only for admin user (isAdmin == true).
135
+
132
136
### ` netcon.janog.gr.jp/port `
133
137
134
138
You can set password for SSH with this label. This label will be ignored when you use "exec" access method. If you don't set this label, 22/tcp is used to access nodes.
0 commit comments