Re[2]: Help with SFTP
"stefan tageson" <Stefan-6HgPSzB/[email protected]> Sat, 18 Jul 2026 19:24:21 +0000
| Newsgroups | gmane.comp.hardware.ibm.midrange |
|---|---|
| Message-ID | <[email protected]> |
As you see in the log, there's a public key (rsa) but you have no private rsa key. You need to have a private/public keypair of the same sort. /Stefan ------ Original Message ------ From "gio.cot via MIDRANGE-L" <[email protected]> To "'Midrange Systems Technical Discussion'" <[email protected]> Cc "gio.cot" <[email protected]> Date 18/07/2026 21:15:31 Subject RE:Help with SFTP >Hi Stefan > >Here the last part of message using -vv > >.... >debug2: pubkey_prepare: done > >debug1: SSH2_MSG_EXT_INFO received > >debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,..... >-nistp384,ecdsa-sha2-nistp521> > >debug2: service_accept: ssh-userauth > >debug1: SSH2_MSG_SERVICE_ACCEPT received > >debug1: Authentications that can continue: >publickey,gssapi-keyex,gssapi-with-mic,password >debug1: Next authentication method: publickey > >debug1: Offering public key: /home/myuser/.ssh/id_rsa RSA ...... >debug2: we sent a publickey packet, wait for reply > >debug1: Authentications that can continue: >publickey,gssapi-keyex,gssapi-with-mic,password >debug1: Trying private key: /home/MYUSER/.ssh/id_dsa > >debug1: Trying private key: /home/MYUSER/.ssh/id_ecdsa > >debug1: Trying private key: /home/MYUSER/.ssh/id_ed25519 > >debug1: Trying private key: /home/MYUSER/.ssh/id_xmss > >debug2: we did not send a packet, disable method > >debug1: Next authentication method: password > >debug1: read_passphrase: can't open /dev/tty: No such device or address > >debug2: readpassphrase: not a 5250 return ENOTTY > >debug2: we sent a password packet, wait for reply > >debug1: Authentications that can continue: >publickey,gssapi-keyex,gssapi-with-mic,password >Permission denied, please try again. > >debug1: read_passphrase: can't open /dev/tty: No such device or address > >debug2: readpassphrase: not a 5250 return ENOTTY > >debug2: we sent a password packet, wait for reply > >debug1: Authentications that can continue: >publickey,gssapi-keyex,gssapi-with-mic,password >Permission denied, please try again. > >debug1: read_passphrase: can't open /dev/tty: No such device or address > >debug2: readpassphrase: not a 5250 return ENOTTY > >debug2: we sent a password packet, wait for reply > >debug1: Authentications that can continue: >publickey,gssapi-keyex,gssapi-with-mic,password >debug2: we did not send a packet, disable method > >debug1: No more authentication methods to try. >Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). >Connection closed. > Connection closed > $ > >>Try your sftp again with parameter - vv and have a look at the output >> > > >-- >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list >To post a message email: [email protected] >To subscribe, unsubscribe, or change list options, >visit: https://lists.midrange.com/mailman/listinfo/midrange-l >or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org >Before posting, please take a moment to review the archives >at https://archive.midrange.com/midrange-l. > >Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions. > -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l. Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.