We're NOT using SSH, certificates, and/or keys.
We are using SFTP via PASE, which only uses user and password.
If the remote vendor would allow us to use SSH and keys, I always go that route.
Many vendors refuse to do the setup.
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Diego Kesselman
Sent: Thursday, October 22, 2015 4:42 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: SFTP via PASE - No user exists for uid 356
Can you describe your process to create certificates step by step?
Talking about SFTP (not FTPS) , it's a SSH thing, so in most cases you can reach your target server using SSH and test your connection.
1) Create certificate in your local server
2) Send the id_rsa.pub file to the remote server, so you can connect passwordless
3) On the target, add the content of this file to .ssh/authorized_keys
4) Create your command file. You can use QSH CMD(ECHO 'command >>
commandfile.sftp') or add records to a file and then export to IFS using something like CPYTOSTMF
5) Execute SFTP commands using PASE. Remember, SFTP doesn't work properly with QSH
There's a good guide on skott's page
http://bit.ly/sftp_scottk
El 22/10/2015 a las 01:46 p. m., Steinmetz, Paul escribió:
I'm converting an FTP script job to SFTP using PASE.
User, passwords, ip, etc all remain the same, from what the vendor has told us.
I'm receiving the below error message.
No user exists for uid 356
Is there a reason a user would work for FTP and not SFTP.
Thank You
_____
Paul Steinmetz
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx
http://www.pencor.com/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.