I have a host I can only reach via another, and I'm using the SSH ProxyJump feature. For example, in my .ssh/config I have:
Host mysecrethost
HostName localhost
Port 9874
User wmertens
ProxyJump wmertens@mypublichost
I can set mysecrethost as the target host, and so I know that NixOps is using my configuration, becaus that hostname isn't in DNS. However, it then proceeds to deploy the system to mypublichost. Rollbacks are a great feature ;)
So something in NixOps is smart enough to read the SSH config but not smart enough to understand all of its syntax.
(note, I also have root access on the secret host)
I have a host I can only reach via another, and I'm using the SSH ProxyJump feature. For example, in my
.ssh/config
I have:I can set
mysecrethost
as the target host, and so I know that NixOps is using my configuration, becaus that hostname isn't in DNS. However, it then proceeds to deploy the system tomypublichost
. Rollbacks are a great feature ;)So something in NixOps is smart enough to read the SSH config but not smart enough to understand all of its syntax.
(note, I also have root access on the secret host)