Public/Connect-OpenSSH.ps1

function Connect-OpenSSH {
    <#
    .DESCRIPTION
    Use this function to connect to an SSH Session
 
    .Parameter User
    User Account used for SSH Authentication
 
    .Parameter Server
    SSH Server that is being connected to.
 
    .EXAMPLE
    Connect using a domain account and DNS Name
 
    Connect-SSH -User "domain\username" -server "Hostname"
 
    .EXAMPLE
    Connect using a local account and ipv4
 
    Connect-SSH -User "username" -server "192.168.0.1"
 
    .NOTES
    Requires the OpenSSH client feature be installed locally and SSH enabled on the server
    https://github.com/PowerShell/Win32-OpenSSH
 
    .Link
    Enable-PSRemoting
    Enable-Remoting
    Install-SSH
    #>


    [CmdletBinding()]
    [Alias('Connect-SSH')]
    Param (
        [Parameter(Mandatory = $true)]$User,
        [Parameter(Mandatory = $true)]$Server
    )

    ssh.exe $user@$server
}