Add ssh client to arm32 image
@TravisEz13 ya está trabajando en esto.
Desde el 29/7/2020.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- Dockerfile
- Estrellas
- 449
- Forks
- 158
- Merge medio
- 3 d 10 h
- PR fusionados (30 d)
- 1
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PowerShell/PowerShell-Docker
-
Git AbiertoIssue-Enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
PowerShell/PowerShell-Docker#857 ·
-
Container images not deprecated Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
PowerShell/PowerShell-Docker#856 · 2 comentarios · 1 reacción ·
-
Issue-Enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 48/100
PowerShell/PowerShell-Docker#854 ·
-
Issue-Enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
PowerShell/PowerShell-Docker#853 · 6 comentarios · 17 reacciones ·
-
Issue-Enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
PowerShell/PowerShell-Docker#851 · 2 comentarios · 2 reacciones ·