HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sshd — Secure Shell Daemon - allows remote machines to securely log in to the current machine. Remote machi

Submitted by: @import:tldr-pages··
0
Viewed 0 times
shellcommandsshdsecuredaemoncliallowsremote

Problem

How to use the sshd command: Secure Shell Daemon - allows remote machines to securely log in to the current machine. Remote machines can execute commands as it is executed at this machine. More information: <https://man.openbsd.org/sshd>.

Solution

sshd — Secure Shell Daemon - allows remote machines to securely log in to the current machine. Remote machines can execute commands as it is executed at this machine. More information: <https://man.openbsd.org/sshd>.

Start daemon in the background:
sshd


Run sshd in the foreground:
sshd -D


Run with verbose output (for debugging):
sshd -D -d


Run on a specific port:
sshd -p {{port}}

Code Snippets

Start daemon in the background

sshd

Run sshd in the foreground

sshd -D

Run with verbose output (for debugging)

sshd -D -d

Run on a specific port

sshd -p {{port}}

Context

tldr-pages: common/sshd

Revisions (0)

No revisions yet.