-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
X forwarding for SSH connection #10683
Comments
This comment has been minimized.
This comment has been minimized.
Sorry, may be you not clearly understand me. Initially, I checked ssh-connection to remote station with red hat and I don't have problem with ctrl + C. After configuration of X-forwarding (as it is written after UPDATED in my first comment) I got problem with ctrl + C. And of cause I need to use this combination at least for killing program at Linux. Thus, the question: what could have changed after configuration of X-forwarding? |
@Y-Grigoriy Which version of |
@zadjii-msft, I used cmd.exe, version: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5 |
If this repros in just a |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
@zadjii-msft, Should I close this issue or can we leave it open until the question on your link to be answered? |
Lost this one in the triage queue. Yea, let's call this /dup PowerShell/Win32-OpenSSH#1803 until proven otherwise. |
Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report! |
I try to perform X forwarding for SSH connection, using Windows terminal. I want to connect to remote machine with Red Hat operation system. Following the instructions and using
ssh user_name@my-server
I can connect to remote machine. However, when after connection I use commandexport DISPLAY=localhost:0.0
andxhost +local:user_name
, I get the following message:xhost: unable to open display "localhost:0.0"
. Also I tried to use following advice: #2785 (comment), but I got the following error:UPDATED:
This problem was solved as follows:
xauth generate localhost:0.0 . trusted
xauth list
"commandline": "ssh host_name",
But now I have problem with the key combination ctrl+С. It terminates ssh-connection. Could someone help me with it?
The text was updated successfully, but these errors were encountered: