docs(ssh): Added documentation for ssh config
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -17,7 +17,7 @@ as it will freeze up when you try to run two switch programs.
|
|||||||
- 2x Server with each 4 usable SFP+ Ports
|
- 2x Server with each 4 usable SFP+ Ports
|
||||||
- Software
|
- Software
|
||||||
- Barefoot SDE
|
- Barefoot SDE
|
||||||
- SSH config for nodes
|
- SSH config for nodes (as seen in the appendix)
|
||||||
|
|
||||||
## Setup and Usage
|
## Setup and Usage
|
||||||
|
|
||||||
@@ -308,3 +308,25 @@ ip netns exec "$NS" arp -i "$IF" -s 10.0.3.4 00:00:00:00:00:04
|
|||||||
```
|
```
|
||||||
|
|
||||||
Replace the placeholder mac address with the actual MAC addresses of the interfaces.
|
Replace the placeholder mac address with the actual MAC addresses of the interfaces.
|
||||||
|
|
||||||
|
### ssh_config
|
||||||
|
|
||||||
|
```config
|
||||||
|
Host ncs-node1 ncs-node2 ncss-head
|
||||||
|
User tuan-dat.tran
|
||||||
|
IdentityFile /path/to/privatekey
|
||||||
|
|
||||||
|
Host ncs-head
|
||||||
|
HostName 130.75.73.1
|
||||||
|
Port 30022
|
||||||
|
|
||||||
|
Host ncs-node1
|
||||||
|
HostName 192.168.1.101
|
||||||
|
Port 22
|
||||||
|
ProxyJump ncs-head
|
||||||
|
|
||||||
|
Host ncs-node2
|
||||||
|
HostName 192.168.1.102
|
||||||
|
Port 22
|
||||||
|
ProxyJump ncs-head
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user