Difference between revisions of "Apt install openssh-server"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
  
  
  sed -i ".BAK" s/"#PermitRootLogin prohibit-password"/"PermitRootLogin yes"/[[gp]] [[/etc/ssh/sshd_config]]
+
  [[sed -i]] "[[.BAK]]" s/"#PermitRootLogin prohibit-password"/"PermitRootLogin yes"/[[gp]] [[/etc/ssh/sshd_config]]
  
 
== See also ==
 
== See also ==

Revision as of 12:52, 31 January 2024

Advertising: