Editing Sshd

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lc}}
 
 
<code>sshd</code><ref>https://man.cx/sshd(1)</ref> secure shell daemon
 
<code>sshd</code><ref>https://man.cx/sshd(1)</ref> secure shell daemon
  
* <code>[[apt install openssh-server]]</code>
+
{{Draft}}
* Configuration file: <code>[[/etc/ssh/sshd_config]]</code> <ref>https://linux.die.net/man/5/sshd_config</ref>
+
 
 +
* Configuration file: <code>[[sshd_config]]</code> <ref>https://linux.die.net/man/5/sshd_config</ref>
  
 
== Commands ==
 
== Commands ==
* <code>[[systemctl start sshd]]</code>
 
 
* <code>[[systemctl restart]] sshd</code>
 
* <code>[[systemctl restart]] sshd</code>
* <code>[[systemctl status sshd]]</code> or <code>[[systemctl status ssh]]</code>
+
* <code>[[sshd -T]]</code>
* <code>[[systemctl enable ssh]]</code>
+
* <code>[[sshd -t]]</code>
 
 
* <code>[[service ssh start]]</code>
 
  
* <code>[[sshd -T]]</code>, Extended test mode.
 
* <code>[[sshd -t]]</code>, test mode.
 
  
 
  [[sshd -t]]
 
  [[sshd -t]]
Line 20: Line 15:
  
 
== Activities ==
 
== Activities ==
* [[Activate SSH server on macOS]]: <code>sudo [[systemsetup -setremotelogin on]]</code>
+
* [[Activate SSH server on macOS]]: <code>sudo [[systemsetup]] -setremotelogin on</code>
* [[Sftp configuration]]
+
 
* [[Configure OpenSSH to reuse ssh connections]]
 
* [[apt install openssh-server]]
 
  
 
== Related terms ==
 
== Related terms ==
* <code> [[journalctl]] -r | grep sshd</code>
+
[[journalctl]] -r | grep sshd
* <code>[[ssh-copy-id]]</code>
+
[[sshd_config]]
* [[launchctl stop com.openssh.sshd]]
 
* [[launchctl start com.openssh.sshd]]
 
  
 
== See also ==
 
== See also ==
Line 35: Line 26:
 
* {{OpenSSH}}
 
* {{OpenSSH}}
  
[[Category:OpenSSH]]
+
 
 
[[Category:Linux]]
 
[[Category:Linux]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: