×
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.
Even before moving into sFTP, I'm running into problems just getting in.
I've enabled logging and it seems to fail at allocating a terminal. One of
my tutorials is a Red Book that describes setting up two IBM i machines,
one as server and the other as client, and those instructions specify to
use the -T switch to prevent the use of a terminal, but I assumed that was
just within the IBM i universe, so to speak.
My communication is with a non-IBM i. I don't know what it is but let's
assume Unix. I'm getting off on the wrong foot I think because the other
party has given a user id and password, which I've explained is no good
because we (eventually) want unattended/scripted transfer of data, but I
thought - OK - let's just use the user/password to see if I can get in.
Enabling logging it seems that key exchange has all happened OK, but then
it chokes. If I don't give a user id it assumes my IBM user profile, which
I assume is no good at the other end, so here's the end of the log when I
attempt to use a user id:
debug1: Authentication succeeded (publickey).
Authenticated to (the_ip_address)
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: network
tcgetattr: Invalid argument
debug1: ssh_tty_make_modes: no fd or tio
Received disconnect from (the_ip_address) port 22:7:
Disconnected from (the_ip_address) port 22
$
btw, just out of interest both of the tutorials I've got show examples with
internet-style addresses, but that didn't work for me until I got the
actual numeric IP.
I'm not actually all that surprised it didn't work, because the keys would
be associated with my IBM user profile, not the user id they gave me,
right? So the provided user/password is only going to work if I don't use
keys - is that right? Now that I've got keys it always tries to load them,
even if I don't run ssh-add.
So, do I need to ask the server person to clear everything out and add new
credentials MATCHING MY IBM-i USER ID?
As an Amazon Associate we earn from qualifying purchases.
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.