Difference between revisions of "Sshd"
Jump to navigation
Jump to search
↑ https://man.cx/sshd(1)
↑ https://linux.die.net/man/5/sshd_config
Tags: Mobile web edit, Mobile edit |
|||
(19 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 | ||
− | + | * <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 | + | * <code>[[systemctl status sshd]]</code> or <code>[[systemctl status ssh]]</code> |
− | * <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]] - | + | * [[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 == | ||
Line 21: | Line 35: | ||
* {{OpenSSH}} | * {{OpenSSH}} | ||
− | + | [[Category:OpenSSH]] | |
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 12:31, 25 January 2024
sshd
[1] secure shell daemon
apt install openssh-server
- Configuration file:
/etc/ssh/sshd_config
[2]
Contents
Commands[edit]
systemctl start sshd
systemctl restart sshd
systemctl status sshd
orsystemctl status ssh
systemctl enable ssh
sshd -t (no output in configuration is right)
Activities[edit]
- Activate SSH server on macOS:
sudo systemsetup -setremotelogin on
- Sftp configuration
- Configure OpenSSH to reuse ssh connections
- apt install openssh-server
Related terms[edit]
journalctl -r | grep sshd
ssh-copy-id
- launchctl stop com.openssh.sshd
- launchctl start com.openssh.sshd
See also[edit]
sshd
,sshd logs
,sshd -t
,sshd -T
,sshd_config
,sftp
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF
Advertising: