× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi, John,

When running interactively under PASE, if you are using QP2TERM, there is no "/dev/tty"... :-o

So, you need to use some other technique, such as "expect" ... to deal with this situation.

Here are some related resources that may help:

   https://www.scottklement.com/expect/
and
    https://www.scottklement.com/presentations/Setting%20up%20and%20Scripting%20the%20OpenSSH,%20SFTP%20and%20SCP%20Utilities%20on%20IBM%20i.pdf

All the best,

Mark S. Waterbury

On Friday, December 23, 2022 at 02:21:40 PM EST, <smith5646midrange@xxxxxxxxx> wrote:

I am running the command interactively, not submitted to batch.  Can you
provide additional details to explain this? 

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Patrik
Schindler
Sent: Friday, December 23, 2022 1:16 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: SFTP using password

Hello,

Am 23.12.2022 um 17:53 schrieb smith5646midrange@xxxxxxxxx:

I found the -vvv switch for SFTP and the log shows it is stuck repeating
this line.

read_passphrase: can't open /dev/tty: No such device or address.

sftp tries to interactively get the password, but fails because there is no
interactive terminal connected.

:wq! PoC


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.