Difference between revisions of "Sshd"

From wikieduonline
Jump to navigation Jump to search
 
(31 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>
  
 +
== Commands ==
 +
* <code>[[systemctl start sshd]]</code>
 +
* <code>[[systemctl restart]] sshd</code>
 +
* <code>[[systemctl status sshd]]</code> or <code>[[systemctl status ssh]]</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]]
 +
(no output in configuration is right)
 +
 +
== Activities ==
 +
* [[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 ==
 +
* <code> [[journalctl]] -r | grep sshd</code>
 +
* <code>[[ssh-copy-id]]</code>
 +
* [[launchctl stop com.openssh.sshd]]
 +
* [[launchctl start com.openssh.sshd]]
  
 
== See also ==
 
== See also ==
 +
* {{sshd}}
 
* {{OpenSSH}}
 
* {{OpenSSH}}
  
 
+
[[Category:OpenSSH]]
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest revision as of 12:31, 25 January 2024

Advertising: