Skip to content

Enter-PSSession : The SSH client session has ended with error message: The SSH transport process has abruptly terminated causing this remote session to break. #1388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
eliassal opened this issue May 20, 2019 · 4 comments

Comments

@eliassal
Copy link

eliassal commented May 20, 2019

"OpenSSH for Windows" version
last version

Server OperatingSystem
win 2019
Client OperatingSystem
Centos 7
What is failing
Remote session from Centos to windows server
Expected output
I do

Enter-PSSession 192.168.20.70 -UserName salam@mydomnain

or

Enter-PSSession 192.168.20.70 -SSHTransport

I get prompted to enter my password, a remote session to windows server to be opened
Actual output

On Centos I get
Enter-PSSession : The SSH client session has ended with error message: The SSH transport process has abruptly terminated causing this remote session to break.

on the server, in the event log I have the following 3 messages logged
3 - sshd: Disconnected from 192.168.20.12 port 41493
2 - sshd: Received disconnect from 192.168.20.12 port 41493:11: disconnected by user
1 - sshd: Accepted password for salam@mydomain from 192.168.20.12 port 41493 ssh2

@manojampalam
Copy link
Contributor

@eliassal
Copy link
Author

Yes Sir

@manojampalam
Copy link
Contributor

Please get debug traces from target. Follow steps at https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps

@eliassal
Copy link
Author

I did in thread #1387
#1387

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

No branches or pull requests

3 participants