|
I ran the SFTP command from the QP2TERM session with the -vvv switch.
The debug output shows this information after each password attempt.
debug1: Authentications that can continue: password
debug3: start over, passed a different list password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup password
debug3: remaining preferred: ,keyboard-interactive,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
debug1: read_passphrase: can't open /dev/tty: There is a request to a device or address that does not exist.
debug2: readpassphrase: not a 5250 return ENOTTY
debug3: packet_send2: adding 64 (len 51 padlen 13 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue: password
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: There is a request to a device or address that does not exist.
debug2: readpassphrase: not a 5250 return ENOTTY
debug3: packet_send2: adding 64 (len 51 padlen 13 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue: password
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: There is a request to a device or address that does not exist.
debug2: readpassphrase: not a 5250 return ENOTTY
debug3: packet_send2: adding 64 (len 51 padlen 13 extra_pad 64)
debug2: we sent a password packet, wait for reply
Received disconnect from X.X.X.X: 2: Too many logon attempts.
I then SSH'ed into my server using PuTTY and ran the same SFTP
command and got the prompts for password and connected successfully.
So it appears that SFTP doesn't see the QP2TERM session as a valid
TTY terminal. Which I guess makes sense since it isn't a TTY
terminal, but I was sure I had something like this working in the
past.
It also doesn't explain why the program to spawn a PASE session and
run SFTP using key authentication doesn't work.
Would you expect an SFTP script using the expect utility to work for
this setup? That was my next thing to try.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.