× 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:50, gio.cot via MIDRANGE-L a écrit :
Hi all


"..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 .. " , so this mean that i have contact the
server FTP administrator to ask him that should enable the connection via
key authentication ?

Based on my tests following the suggestion from Scott, I would try the following.

If you don't have one yet, install an ssh client such as putty on your workstation (note: Windows 11 provides one with ssh command).

- using your ssh client, connect to your system with the user profile which will be used later for the transfers

- follow the IBM document above to create a private/public key pair

- use an ssh session to create .ssh subdirectory with proper authority in the home directory on the target system if it does not exist

- use an sftp session against the target system to send your public key file and install it in .ssh subdirectory

- if there is no authorized_keys and no authorized_keys2 file (which would contain already installed public keys and are usually used by default by the ssh server), you can just rename your public key file with authorized_keys

- if those files already exist, you can add the public key file to them with cat publicfile >> authorized_keys

There is also a ssh-copy-id command which can do the transfer and the addition at the same time, but I never used it.

If you don't succeed, you can contact the administrator to discuss a way to proceed.



Thanks



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.