13 lines
305 B
Nix
13 lines
305 B
Nix
{
|
|
# Use SSH tunnel to apex to reach internal hosts
|
|
programs.ssh.extraConfig = ''
|
|
Host tent
|
|
ProxyJump raccoon
|
|
|
|
# Access raccoon via the HTTP proxy
|
|
Host raccoon knights3.bsc.es
|
|
HostName knights3.bsc.es
|
|
ProxyCommand=ssh apex 'nc -X connect -x localhost:23080 %h %p'
|
|
'';
|
|
}
|