Difference between revisions of "Sshd"

From wikieduonline
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
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
  
{{Draft}}
+
* <code>[[apt install openssh-server]]</code>
 
+
* 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>[[sshd -T]]</code>
+
* <code>[[systemctl status sshd]]</code> or <code>[[systemctl status ssh]]</code>
* <code>[[sshd -t]]</code>
+
* <code>[[systemctl enable ssh]]</code>
  
 +
* <code>[[service ssh start]]</code>
 +
 +
* <code>[[sshd -T]]</code>, Extended test mode.
 +
* <code>[[sshd -t]]</code>, test mode.
  
 
  [[sshd -t]]
 
  [[sshd -t]]
Line 15: Line 20:
  
 
== 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]]
 
* [[Sftp configuration]]
 +
* [[Configure OpenSSH to reuse ssh connections]]
 +
* [[apt install openssh-server]]
  
 
== Related terms ==
 
== Related terms ==
[[journalctl]] -r | grep sshd
+
* <code> [[journalctl]] -r | grep sshd</code>
[[sshd_config]]
+
* <code>[[ssh-copy-id]]</code>
 +
* [[launchctl stop com.openssh.sshd]]
 +
* [[launchctl start com.openssh.sshd]]
  
 
== See also ==
 
== See also ==
Line 26: Line 35:
 
* {{OpenSSH}}
 
* {{OpenSSH}}
  
 
+
[[Category:OpenSSH]]
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest revision as of 12:31, 25 January 2024

Advertising: