-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreSize-MultipleWeeksWG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer
Description
Steps to reproduce
- Build and setup SSH based remoting (see docs) on a Linux machine
- Start an interactive remote session to the same machine
Enter-PSSession -HostName -UserName
[] C:> sudo ls /proc/powershell
Expected behavior
sudo command to run in remote interactive session.
Actual behavior
sudo : sudo: no tty present and no askpass program specified
+ CategoryInfo : NotSpecified: (sudo: no tty pr...ogram specified:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Environment data
Name Value
PSVersion 5.1.10032.0
PSEdition PowerShellCore
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v0.6.0-392-ga5b5dc576b8006c0d0a83a5c538f382d9fa65dc6
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
masaeedu, clr2of8, anotherjarvi, aha-tech, TylerLeonhardt and 5 more
Metadata
Metadata
Assignees
Labels
Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreSize-MultipleWeeksWG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer
Type
Projects
Status
Done