Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Cannot connect to omi server since PowerShell v6.0.0-beta.3 #101

Closed
darootler opened this issue Jun 26, 2017 · 14 comments
Closed

Cannot connect to omi server since PowerShell v6.0.0-beta.3 #101

darootler opened this issue Jun 26, 2017 · 14 comments

Comments

@darootler
Copy link

darootler commented Jun 26, 2017

I just upgraded from PowerShell v6.0.0-beta.2 to PowerShell v6.0.0-beta.3 and since then i am not able to connect from Windows to Linux with PowerShell Remoting:

Steps to reproduce:

On the Linux side:
sudo apt install powershell omi omi-psrp-server

On the Windows side:
$creds = Get-Credential
Enter-PSSession -ComputerName HOSTNAME -Credential $creds -Authentication Basic -SessionOption $(New-PSSessionOption -SkipCACheck -SkipCNCheck) -UseSSL

Logs:
2017/06/26 11:48:26 [3619,3619] WARNING: null(0): EventId=30058 Priority=WARNING failed to call provider's load with result 1; class: Shell
2017/06/26 11:48:26 [3619,3619] WARNING: null(0): EventId=30066 Priority=WARNING failed to open the provider psrpomiprov for class Shell
2017/06/26 11:48:26 [3619,3619] ERROR: null(0): EventId=20001 Priority=ERROR Agent _RequestCallback: ProvMgr_NewRequest failed with result 1 !

Regards
Richard

@JumpingYang001
Copy link
Contributor

Looks like this bug fixed in PR #99 , I will verify it tomorrow.

@JumpingYang001
Copy link
Contributor

Verified, the PR #99 fixed the issue for remoting from Linux/Mac->Linux/Windows.

@darootler
Copy link
Author

I just installed PowerShell v6.0.0-beta.4 and i am still running into this issue. Do i have have to do anything else to fix this problem?

Regards
Richard

@JumpingYang001
Copy link
Contributor

You need to wait new release package under https://github.com/PowerShell/psl-omi-provider/releases

@jfanctil
Copy link

I find weird that the powershell package is at beta-7 now and this issue is still there... it's been 5 beta releases that this core-feature (able to do remote commands from Windows to Linux, which is, I think, the main feature for installing powershell on linux...) is broken. It's almost unacceptable...

@darootler
Copy link
Author

@jfanctil

That's exactly what i am thinking. On the other hand that's open source and beta, so we have to be patiently.

Regards
Richard

@JumpingYang001
Copy link
Contributor

this project was transitioned from OMI team to PowerShell team for serveral months, @daxian-dbw could you help to check this? or can you share with your team lead/manager about this? thanks

@daxian-dbw
Copy link
Member

There hasn't been a release of psl-omi-provider since the merging of #99. PowerShell team needs to publish a new release and also figure out the process of future releases when there are any changes made to this repository.
/cc @dantraMSFT @SteveL-MSFT

@darootler
Copy link
Author

Still no working powershell remoting...

Regards
Richard

@dantraMSFT
Copy link
Contributor

@darootler
Copy link
Author

When will this version be available in the official repositories?

pspr

Regards
Richard

@dantraMSFT
Copy link
Contributor

dantraMSFT commented Nov 21, 2017

@darootler It was published Friday afternoon and I've confirmed that I can install it via apt-get install. I confess to having limited experience with apt; is it caching information?

@darootler
Copy link
Author

@dantraMSFT

If you look inside this package https://packages.microsoft.com/ubuntu/16.04/prod/dists/xenial/main/binary-amd64/Packages.gz you'll find omi-psrp-server version 1.0.0.18

Do i have the false repository set up?

Regards
Richard

@dantraMSFT
Copy link
Contributor

The packages are available now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants