Difference between revisions of "Sshd"
Jump to navigation
Jump to search
↑ https://man.cx/sshd(1)
↑ https://linux.die.net/man/5/sshd_config
Line 6: | Line 6: | ||
== Commands == | == Commands == | ||
+ | * [[systemctl start sshd]] | ||
* <code>[[systemctl restart]] sshd</code> | * <code>[[systemctl restart]] sshd</code> | ||
* <code>[[systemctl status sshd]]</code> or <code>[[systemctl status ssh]]</code> | * <code>[[systemctl status sshd]]</code> or <code>[[systemctl status ssh]]</code> | ||
* <code>[[systemctl enable ssh]]</code> | * <code>[[systemctl enable ssh]]</code> | ||
+ | * [[service ssh start]] | ||
* <code>[[sshd -T]]</code>, Extended test mode. | * <code>[[sshd -T]]</code>, Extended test mode. |
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
- systemctl start sshd
systemctl restart sshd
systemctl status sshd
orsystemctl status ssh
systemctl enable ssh
sshd -t (no output in configuration is right)
Activities
- Activate SSH server on macOS:
sudo systemsetup -setremotelogin on
- Sftp configuration
- Configure OpenSSH to reuse ssh connections
- apt install openssh-server
Related terms
journalctl -r | grep sshd
ssh-copy-id
- launchctl stop com.openssh.sshd
- launchctl start com.openssh.sshd
See also
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: