< Back

Add-SshKey

Sat Jan 18, 2020 7:51 pm

NAME Add-SshKey



SYNOPSIS

Add a key to the SSH agent





SYNTAX

Add-SshKey [-Quiet] [<CommonParameters>]





DESCRIPTION

Adds one or more SSH keys to the SSH agent.





PARAMETERS

-Quiet [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

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

None.

You cannot pipe input to this cmdlet.





OUTPUTS



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



PS C:\\>Add-SshKey



Adds ~\\.ssh\\id_rsa to the SSH agent.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Add-SshKey ~\\.ssh\\mykey, ~\\.ssh\\myotherkey



Adds ~\\.ssh\\mykey and ~\\.ssh\\myotherkey to the SSH agent.











RELATED LINKS





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=Enable-GitColors; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Enable-GitColors



ModuleName : Posh-Git

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Enable-GitColors

Category : Function

Component :

Role :

Functionality :





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=Expand-GitCommand; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Expand-GitCommand [[-Command] <Object>]



ModuleName : Posh-Git

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Expand-GitCommand

Category : Function

Component :

Role :

Functionality :





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=Get-AliasPattern; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-AliasPattern [[-exe] <Object>]



ModuleName : Posh-Git

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-AliasPattern

Category : Function

Component :

Role :

Functionality :





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=Get-GitBranch; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-GitBranch [[-gitDir] <Object>] [[-sw] <Stopwatch>]



ModuleName : Posh-Git

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-GitBranch

Category : Function

Component :

Role :

Functionality :