< Back

New-SSHTrustedHost

Sat Jan 18, 2020 7:58 pm

NAME New-SSHTrustedHost



SYNOPSIS

Adds a new SSH Host and Fingerprint pait to the list of trusted SSH Hosts.





SYNTAX

New-SSHTrustedHost [-SSHHost] <Object> [-FingerPrint] <Object> [<CommonParameters>]





DESCRIPTION

Adds a new SSH Host and Fingerprint pait to the list of trusted SSH Hosts.





PARAMETERS

-SSHHost <Object>

IP Address of FQDN of host to add to trusted list.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-FingerPrint <Object>

SSH Server Fingerprint.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.Object







OUTPUTS



NOTES









-------------------------- EXAMPLE 1 --------------------------



New-SSHTrustedHost -SSHHost 192.168.10.20 -FingerPrint a4:6e:80:33:3f:31:4:cb:be:e9:a0:80:fb:38:fd:3b -Verbose

VERBOSE: Adding to trusted SSH Host list 192.168.10.20 with a fingerprint of

a4:6e:80:33:3f:31:4:cb:be:e9:a0:80:fb:38:fd:3b

VERBOSE: SSH Host has been added.







RELATED LINKS

Online Version: https://github.com/darkoperator/Posh-SS ... aster/docs