Add ssh client to arm32 image
@TravisEz13 đang làm issue này rồi.
Từ ngày 29/7/2020.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Dockerfile
- Star
- 449
- Fork
- 158
- Merge trung bình
- 3 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/PowerShell-Docker
-
Git Đang mởIssue-Enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
PowerShell/PowerShell-Docker#857 ·
-
Container images not deprecated Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
PowerShell/PowerShell-Docker#856 · 2 bình luận · 1 reaction ·
-
Issue-Enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
PowerShell/PowerShell-Docker#854 ·
-
Issue-Enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
PowerShell/PowerShell-Docker#853 · 6 bình luận · 17 reaction ·
-
Issue-Enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
PowerShell/PowerShell-Docker#851 · 2 bình luận · 2 reaction ·