Uhhh
This commit is contained in:
parent
e590ea5aaa
commit
966f5d48ab
@ -40,11 +40,13 @@ You can also try using this script with a different daemon (or your own custom s
|
|||||||
6. Create a short bash script inside the dispatcher directory that will launch connection-specific-ssh-config. For instance, you might name this file ```/etc/NetworkManager/dispatcher.d/99-launch-connection-specific-ssh-config```
|
6. Create a short bash script inside the dispatcher directory that will launch connection-specific-ssh-config. For instance, you might name this file ```/etc/NetworkManager/dispatcher.d/99-launch-connection-specific-ssh-config```
|
||||||
|
|
||||||
7. Inside your launcher script, put the following contents:
|
7. Inside your launcher script, put the following contents:
|
||||||
|
|
||||||
```
|
```
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
/path/to/connection-specific-ssh-config "$1" "$2" "/path/to/connection-specific-ssh-config.ini"
|
/path/to/connection-specific-ssh-config "$1" "$2" "/path/to/connection-specific-ssh-config.ini"
|
||||||
```
|
```
|
||||||
|
|
||||||
This will take the two important variables which NetworkManager has passed along to your launcher script, and pass them along to connection-specific-ssh-config
|
This will take the two important variables which NetworkManager has passed along to your launcher script, and pass them along to connection-specific-ssh-config
|
||||||
|
|
||||||
8. Repeat steps 2-7 for each additional user who would like connection based ssh configuration files.
|
8. Repeat steps 2-7 for each additional user who would like connection based ssh configuration files.
|
||||||
|
Loading…
Reference in New Issue
Block a user