SSH-Authentication
What is SSH?
SSH
is the abbreviation for Secure SHell
, which is a cryptographic network
protocol for secure operations over a insecure network.
Description
The SSH Authentication
service will capture all username
, password
and public
keys
that are being used to authenticate to the SSH-server. It will always return an error
/ permission denied.
Syntax
[service.<nickname_of_ssh-auth>]
type="ssh-auth"
Arguments in config file
There are 2
arguments in ssh-auth
service:
argument | default setting | explanation |
---|---|---|
banner |
SSH-2.0-OpenSSH_6.6.1p1 2020Ubuntu-2ubuntu2 | Set the banner of your shell. |
private-key |
random | Set a ssh private-key . |
Example
[service.sshauth]
type="ssh-auth"
[[port]]
port="tcp/8022"
services=["sshauth"]
How to test
ssh -p 8022 root@[IP_ADDRESS]
The test explained
With ssh
we request acces to a specific port -p
to 8022
on address root@[IP_ADDRESS]
.
The result
root@[IP_ADDRESS]'s password:
Availability
Linux | MacOS | |
---|---|---|
ssh-auth | yes | yes |