ssh: add localForwards option for matchBlocks
This commit is contained in:
parent
ed4f66185f
commit
0e871b490e
3 changed files with 70 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ Host abc
|
|||
Host xyz
|
||||
ServerAliveInterval 60
|
||||
IdentityFile file
|
||||
LocalForward [localhost]:8080 [10.0.0.1]:80
|
||||
|
||||
Host *
|
||||
ForwardAgent no
|
||||
|
|
|
|||
|
|
@ -15,6 +15,13 @@ with lib;
|
|||
xyz = {
|
||||
identityFile = "file";
|
||||
serverAliveInterval = 60;
|
||||
localForwards = [
|
||||
{
|
||||
bind.port = 8080;
|
||||
host.address = "10.0.0.1";
|
||||
host.port = 80;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
"* !github.com" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue