Skip to content
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

JumpHost, and centos6 remote host #1326

Closed
kharam1436 opened this issue Aug 30, 2019 · 5 comments
Closed

JumpHost, and centos6 remote host #1326

kharam1436 opened this issue Aug 30, 2019 · 5 comments
Labels
info-needed Issue requires more information from poster

Comments

@kharam1436
Copy link

kharam1436 commented Aug 30, 2019

At first, thank you for your hard work.

Here is something that I've noticed.

# Read more about SSH config files: https://linux.die.net/man/5/ssh_config
Host cssex
    HostName 69.91.198.22
    User root
    IdentityFile ~/.ssh/id_rsa

Host cssaws
    HostName ec2-35-164-227-85.us-west-2.compute.amazonaws.com
    User ec2-user
    IdentityFile ~/.ssh/haram.pem

Host uw_web
    HostName vergil.u.washington.edu
    User kharam
    IdentityFile ~/.ssh/id_rsa

Host ansible
    HostName ansible1.uwb.edu
    User root
    IdentityFile ~/.ssh/id_rsa
    ProxyJump cssex

Here is the copy of the configuration file
I cannot access vergil.u.washington.edu. (running centos 6)
I cannot use ProxyJump cssex.

Thank you

@roblourens
Copy link
Member

Please explain what the problem is exactly.

@roblourens roblourens added the info-needed Issue requires more information from poster label Sep 1, 2019
@kharam1436
Copy link
Author

Operating System: Windows 10 18362.295

The error message that I got was:
"Could not establish the connection to "ansible". The process tried to write to a nonexisting pipe"

When I tried to get into ssh ansible, it works on the shell; however, it does not work on vscode.

image

@roblourens
Copy link
Member

Can you share the log from the Remote-SSH output channel?

@kharam1436
Copy link
Author

kharam1436 commented Sep 2, 2019

[17:20:11.710] remote-ssh@0.45.6
[17:20:11.710] win32 x64
[17:20:11.710] SSH Resolver called for "ssh-remote+ansible", attempt 1
[17:20:11.710] SSH Resolver called for host: ansible
[17:20:11.710] Setting up SSH remote "ansible"
[17:20:11.737] Using commit id "f06011ac164ae4dc8e753a3fe7f9549844d15e35" and quality "stable" for server
[17:20:11.741] Testing ssh with ssh -V
[17:20:11.862] ssh exited with code: 0
[17:20:11.862] Got stderr from ssh: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[17:20:11.863] Running script with connection command: ssh -o ClearAllForwardings=true ansible bash
[17:20:11.865] Install and start server if needed
[17:20:11.935] > 
[17:20:11.935] Got some output, clearing connection timeout
[17:20:12.422] > �]0;C:\Windows\SYSTEM32\cmd.exe�
[17:20:12.431] > 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
[17:20:12.440] > 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
[17:20:12.480] > CreateProcessW failed error:2
> 
[17:20:12.489] > posix_spawn: No such file or directory
> The process tried to write to a nonexistent pipe.
> 
[17:20:12.778] "install" terminal command done
[17:20:12.778] Install terminal quit with output: The process tried to write to a nonexistent pipe.
[17:20:12.778] Received install output: The process tried to write to a nonexistent pipe.
[17:20:12.778] The process tried to write to a nonexistent pipe
[17:20:12.779] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"OfflineError"},"measures":{"resolveAttempts":1,"retries":1}}
[17:20:12.779] ------

This is the log from my visual studio code remote.

thank you

@roblourens
Copy link
Member

I see that this looks like an issue on windows which might be fixed by a new openssh version: #18 (comment)

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants