Difference between revisions of "Apt install openssh-server"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
  [[docker run ubuntu]]
 
  [[docker run ubuntu]]
 
  [[/etc/ssh/sshd_config]], [[PermitRootLogin]] yes, [[service ssh restart]]
 
  [[/etc/ssh/sshd_config]], [[PermitRootLogin]] yes, [[service ssh restart]]
 +
 +
 +
sed s/"#PermitRootLogin prohibit-password"/PermitRootLogin yes/i
  
 
== See also ==
 
== See also ==

Revision as of 12:34, 31 January 2024

Advertising: