diff --git a/modules/ssh-client.nix b/modules/ssh-client.nix index 06e37dd..e45c2b5 100644 --- a/modules/ssh-client.nix +++ b/modules/ssh-client.nix @@ -15,6 +15,13 @@ port = 2224; compression = true; }; + "rootYodaYoga" = { + hostname = "p1st.de"; + #hostname = "192.168.178.99"; + user = "root"; + port = 2224; + compression = true; + }; "unlockYodaYoga" = { hostname = "p1st.de"; #hostname = "192.168.178.99"; diff --git a/modules/ssh-server.nix b/modules/ssh-server.nix index 0d05350..fe408cb 100644 --- a/modules/ssh-server.nix +++ b/modules/ssh-server.nix @@ -9,7 +9,7 @@ settings.PasswordAuthentication = false; # Forbid/Limit root login through SSH. #settings.PermitRootLogin = "no"; - #settings.PermitRootLogin = "prohibit-password"; + settings.PermitRootLogin = "prohibit-password"; # Enabling this is required for commands such as sftp and sshfs. allowSFTP = false; };