× 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.



Have 1 sftp (we are the client) that still requires a password.
Was failing on initial connection.
Their server key changed last week.
I used ssh-keyscan to get their new key, and copy/paste into known_hosts

Now connecting, but the password code not working
#!/bin/sh

export DISPLAY= SSH_ASKPASS_REQUIRE=force
SSH_ASKPASS=/QOpenSys/etc/xyz_pwd_script.sh
printf "get xxdata.txt\nget xxdata.rpt\nquit\n" | sftp -vvv
xxxxxxx@xxxxxxxxxxxxxxx

I can see the job trying over and over the printf of (assuming) the
password and after 5 minutes of many repetitions, endjob -
nothing in joblog

we are up to date on group ptfs v7r5 (last good run before key change
8/7/2024
This has run well since 2021 but this is first key change

Any clues?
Have asked server side (unix system) if they can see us connecting, no
answer yet.
My only change has been the known_hosts record (1st attempt i botched the
copypaste, fixed, and it gets past knowing the host.

My memory of orig setup is fuzzy - do i have to connect manually via
qp2term and accept something on screen?

Jim Franz

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.