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



Le 07/06/2023 à 18:32, Scott Klement a écrit :
The OpenSSH client that IBM provides for IBM i *does* indeed support password authentication.

I agree for ssh command, but I don't for sftp (and scp).

I was not sure of that but got confirmation here https://www.ibm.com/support/pages/configuring-ibm-i-ssh-sftp-and-scp-clients-use-public-key-authentication

---quote---
Public-key authentication allows the IBM i ssh, sftp, and scp clients to gain access to remote hosts without having to provide a password. The sftp and scp clients on the IBM i require Public-key authentication to gain access to ssh servers. Password authentication is not allowed with these two clients. The IBM i ssh client can use either Public-key authentication or Password authentication to gain access to ssh servers.
---quote---



 It will not allow you to type the password interactively on a 5250 terminal.  But if you use a proper Unix terminal, it will work fine.   Alternately, if you use a tool like Expect to script the password, it will work fine.


On 6/7/23 9:44 AM, Marc Rauzier wrote:

I am quite sure that sftp client on IBM i does support *ONLY* key authentication, and does *NOT* support password authentication.

I was used to use ssh in order to get the host key into known_hosts file, then to validate private/public keys setup, before being able to use sftp as a client on an IB M i.


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.