Add ssh client to arm32 image
@TravisEz13 がすでに取り組んでいます。
2020年7月29日 から。
評価
この issue はまだ評価されていません。
説明
Summary
For Ubuntu-based images, this just needs an apt-get install openssh-client.
Steps to reproduce
New-PSSession -HostName ... -UserName ... -KeyFilePath ...
Expected behavior
Should allow PS remoting over SSH
Actual behavior
Error:
Enter-PSSession: An error has occurred which PowerShell cannot handle. A remote session might have ended.
Digging into the InnerException reveals that it is because of missing ssh:
System.Management.Automation.CommandNotFoundException: The term 'ssh' is not recognized as the name of a cmdlet,
function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandTypes commandTypes,
SearchResolutionOptions searchResolutionOptions, CommandOrigin commandOrigin, ExecutionContext context)
at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandOrigin commandOrigin,
ExecutionContext context)
at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandOrigin commandOrigin)
at System.Management.Automation.Runspaces.SSHConnectionInfo.StartSSHProcess(StreamWriter& stdInWriterVar,
StreamReader& stdOutReaderVar, StreamReader& stdErrReaderVar)
at System.Management.Automation.Remoting.Client.SSHClientSessionTransportManager.CreateAsync()
at System.Management.Automation.Remoting.ClientRemoteSessionDSHandlerImpl.SendNegotiationAsync(RemoteSessionState
sessionState)
at System.Management.Automation.Remoting.ClientRemoteSessionDSHandlerImpl.HandleStateChanged(Object sender,
RemoteSessionStateEventArgs arg)
at System.Management.Automation.ExtensionMethods.SafeInvoke[T](EventHandler`1 eventHandler, Object sender, T
eventArgs)
at System.Management.Automation.Remoting.ClientRemoteSessionDSHandlerStateMachine.RaiseStateMachineEvents()
at System.Management.Automation.Remoting.ClientRemoteSessionDSHandlerStateMachine.ProcessEvents()
For Ubuntu-based images, this just needs an apt-get install openssh-client.
Environment data
Name Value
---- -----
PSVersion 7.0.0-rc.2
PSEdition Core
GitCommitId 7.0.0-rc.2
OS Linux 4.19.76-linuxkit #1 SMP Thu Oct 17 19:31:58 UTC 2019
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
- 主要言語
- Dockerfile
- スター
- 449
- フォーク
- 158
- 平均マージ
- 3日 10時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/PowerShell-Docker のほかの issue
-
Git オープンIssue-Enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
PowerShell/PowerShell-Docker#857 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
PowerShell/PowerShell-Docker#856 · コメント 2 件 · リアクション 1 件 ·
-
Issue-Enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
PowerShell/PowerShell-Docker#854 ·
-
Issue-Enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PowerShell/PowerShell-Docker#853 · コメント 6 件 · リアクション 17 件 ·
-
Issue-Enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
PowerShell/PowerShell-Docker#851 · コメント 2 件 · リアクション 2 件 ·