Currently, New-PSSession has a parameter set to use -Hostname and -Username to indicate SSHTransport is being used (instead of -ComputerName and -Credential). SSH users are probably more familiar and comfortable with ssh user@hostname, so it seems we should support New-PSSession -Hostname user@hostname (unfortunately, it would be a breaking change to default to -Hostname instead of -Computername to support this as a positional parameter)
cc @PaulHigin @joeyaiello
Currently,
New-PSSessionhas a parameter set to use-Hostnameand-Usernameto indicate SSHTransport is being used (instead of-ComputerNameand-Credential). SSH users are probably more familiar and comfortable withssh user@hostname, so it seems we should supportNew-PSSession -Hostname user@hostname(unfortunately, it would be a breaking change to default to-Hostnameinstead of-Computernameto support this as a positional parameter)cc @PaulHigin @joeyaiello