First time here? Check out the FAQ!
1

read_passphrase cant open /dev/tty

When I attempt to probe my raspberry pi from my win10 install of wingpro 9.1.2.0 the last line in the details reads "read passphrase: cant open /dev/tty: No such file or directory" is that looking for a directory and file on Win10? What could be causing my probe to fail?

Working...'s avatar
21
Working...
asked 2023-11-04 20:35:50 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2023-12-07 08:20:43 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

I initially misunderstood where this was happening. From the log you sent in, I see it's in context of trying to connect to the remote host. This occurs on Windows if you are using OpenSSH and don't use an ssh key pair, or if you use an ssh key but don't use the ssh agent. In either case a password needs to be typed and OpenSSH is designed to refuse a password provided by anything but you actually typing it in on the command line.

There two possible solutions:

1) Change to using Wing's builtin SSH implementation or PuTTY. You can change to a different SSH implementation with the Remote Development > SSH Implementation preference in Wing.

2) Set up an SSH key pair and load that into ssh-agent.

See https://wingware.com/doc/proj/ssh-setup… for details on using each SSH implementation. That includes also how to set up an SSH key pair in each case.

Wingware Support's avatar
4.1k
Wingware Support
answered 2023-11-05 15:47:57 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you. I accept this as an answer, and will do rhe keys up. Just my laziness.

Working...'s avatar Working... (2023-11-05 21:10:08 -0500) edit
add a comment see more comments
0

When you initiate debug from Wing, the environment is not a real tty. The solution to this is to start your process from a real terminal (ssh into the pi, then type on the command line) and use wingdbstub to initiate debug. The docs for the case relevant to you are here: https://wingware.com/doc/debug/remote-d…

Wingware Support's avatar
4.1k
Wingware Support
answered 2023-11-05 02:22:56 -0500
edit flag offensive 0 remove flag delete link

Comments

Aha, ok. Thank you for the speedy answer. I must have miscommunicated. I am only newly begun on using the remote host in Wingpro. I am still at a stage before debug. I am trying to get a remote host defined to connect to my raspberry pi, so I fall down quickly when I try to follow those directions on the link.

Working...'s avatar Working... (2023-11-05 13:43:30 -0500) edit

Let us considernthis as a duplicate to "Is the remote system OS type of "Linux aarch64" supported?" since that one asked for a bug report with an error log

Working...'s avatar Working... (2023-11-05 14:27:58 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer