mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
ssh config
This commit is contained in:
parent
c6d2043ef2
commit
1918ab4cbd
@ -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";
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user