Difference between revisions of "Apt install openssh-server"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[apt install]] openssh-server
+
  [[apt install]] -y openssh-server
  
  
Line 12: Line 12:
  
  
  [[sed -i]] "[[.BAK]]" s/"#PermitRootLogin prohibit-password"/"PermitRootLogin yes"/[[gp]] [[/etc/ssh/sshd_config]]
+
[[rpl --backup]] "#PermitRootLogin prohibit-password" "PermitRootLogin yes" /etc/ssh/sshd_config && [[service ssh restart]]
 +
 
 +
  [[sed -i]]"[[.BAK]]" s/"#PermitRootLogin prohibit-password"/"PermitRootLogin yes"/[[g]] [[/etc/ssh/sshd_config]]
  
 
== See also ==
 
== See also ==

Latest revision as of 13:48, 31 January 2024

Advertising: