Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Should New-PSSession using SSH accept user@hostname? #6284

Copy link
Copy link
@SteveL-MSFT

Description

@SteveL-MSFT
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core modulecmdlets in the Microsoft.PowerShell.Core moduleWG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.