new ssh
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, lib, system, user, allowed, secrets, ... }:
|
{ pkgs, lib, user, ... }:
|
||||||
lib.mkIf (user != "tv")
|
lib.mkIf (user != "tv")
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ lib.mkIf (user != "tv")
|
|||||||
|
|
||||||
home.file.".ssh/config".text = ''
|
home.file.".ssh/config".text = ''
|
||||||
HOST nxace
|
HOST nxace
|
||||||
HostName nx2.site
|
HostName ssh.nx2.site
|
||||||
User nx2
|
User nx2
|
||||||
Port 50022
|
Port 50022
|
||||||
|
|
||||||
@@ -18,18 +18,13 @@ lib.mkIf (user != "tv")
|
|||||||
User nx2
|
User nx2
|
||||||
Port 50022
|
Port 50022
|
||||||
|
|
||||||
HOST nxrpi
|
|
||||||
HostName nx2.site
|
|
||||||
User pi
|
|
||||||
Port 50023
|
|
||||||
|
|
||||||
HOST nxrpil
|
HOST nxrpil
|
||||||
HostName 192.168.178.31
|
HostName 192.168.178.31
|
||||||
User pi
|
User nx2
|
||||||
Port 50023
|
Port 22
|
||||||
|
|
||||||
HOST nxgit
|
HOST nxgit
|
||||||
HostName git.nx2.site
|
HostName ssh.nx2.site
|
||||||
User git
|
User git
|
||||||
Port 20022
|
Port 20022
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user