Skip to content

Commit 406a413

Browse files
authored
Merge pull request #12 from nolith/ac/push-kwommtwvsxwy
fix: force ssh to use IPv4 and only the generated SSH key
2 parents 25de1ba + f8d2f4d commit 406a413

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

module/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ in
294294
UserKnownHostsFile /dev/null
295295
HostKeyAlias ${sshHostKeyAlias}
296296
Hostname localhost
297+
AddressFamily inet
298+
IdentitiesOnly yes
297299
IdentityFile ${workingDirectory}/${sshUserPrivateKeyFileName}
298300
Port ${toString cfg.port}
299301
StrictHostKeyChecking yes

0 commit comments

Comments
 (0)