make sure different users use the correct ssh port when connecting to vpsfree

This commit is contained in:
Cyryl Płotnicki 2023-02-02 11:49:03 +00:00
parent f79053b558
commit 833e03da6a
2 changed files with 5 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
programs.ssh.extraConfig = '' programs.ssh.extraConfig = ''
Host vpsfree1 Host vpsfree1 vpsfree1.cyplo.dev vpsfree1.raptor-carp.ts.net
HostName vpsfree1 HostName vpsfree1
Port 2222 Port 2222
StrictHostKeyChecking=accept-new StrictHostKeyChecking=accept-new

View file

@ -1,9 +1,8 @@
{ { config, pkgs, ... }: {
config,
pkgs,
...
}: {
programs.ssh.extraConfig = '' programs.ssh.extraConfig = ''
Host vpsfree1 vpsfree1.cyplo.dev vpsfree1.raptor-carp.ts.net
HostName vpsfree1
Port 2222
StrictHostKeyChecking=accept-new StrictHostKeyChecking=accept-new
''; '';
} }