Hello Don,

Am 21.12.2023 um 05:11 schrieb Don Brown via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>:

I need to set up a sFTP file transfer.

I have been provided a user name and password, the user is admin

I used the ssh -T admin@<hostname> to add the site to the known hosts file.

Does the user profile name on the IBMi need to be the same

No. Therefore you need to add the username@ part. If you don't do this, the local username is used implicitly.

or can I use a user name of SFTPUSER or something similar with a maximum length of 8 characters ?

Yes. I don't think you're restricted to 8 chars, also.

As an example can I log in as SFTPUSER (or change the current active profile to SFTPUSER) and then use sftp admin@<hostname>

Yes.

I thought this was fine but I just can't find an explicit answer.

Because it's implicit. ;-)

:wq! PoC




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.