×
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.
So, I think I found your problem. As I followed this thread, I kept coming
back to you have to be sending the wrong password and thought maybe the
environment variable wasn't getting set right or something, but what
always threw me was that you said it worked connecting to an IBM i system
so I looked over the script again and this popped out:
"assword:" {send "$env(SSH_PASS) \n"; exp_continue}
You're sending a trailing space as part of the password. So if the
password was "password" the remote end would see "password " instead. I
suspect that you're IBM i system is at password level 1 or 2, where
trailing spaces are ignored in passwords otherwise this wouldn't work
either.
Change it to this and all should be right:
"assword:" {send "$env(SSH_PASS)\n"; exp_continue}
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.