I haven't used Ruby for several months and now Net::SSH gives me an AuthenticationFailed when I try to hand it a user and password. SInce this is the single most useful library I have for doing automation, I am in a world of hurt. How can I fix this?
-- Matt
It's not what I know that counts.
It's what I can remember in time to use.
I also use Net::SSH a lot in my automation and it works fine. Can you show
us the error that you are getting and the code that causes the error? Also,
what version of net::ssh are you using?
I haven't used Ruby for several months and now Net::SSH gives me an
AuthenticationFailed when I try to hand it a user and password. SInce this
is the single most useful library I have for doing automation, I am in a
world of hurt. How can I fix this?
···
On Tuesday, October 7, 2014, Matt Lawrence <matt@technoronin.com> wrote:
-- Matt
It's not what I know that counts.
It's what I can remember in time to use.
--
-Raj
Versions of Ruby / Net::SSH / OpenSSL?
Have you tried cloning the Net::SSH repo and running the tests on
your system?
A reproducible test case would certainly help (because it works fine
for me in a single very simple test).
···
On Tue, Oct 7, 2014 at 10:56 AM, Matt Lawrence <matt@technoronin.com> wrote:
I haven't used Ruby for several months and now Net::SSH gives me an
AuthenticationFailed when I try to hand it a user and password.
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
I have narrowed it down and it is failing when trying to connect to an Oracle ILOM. The ilom is running a version of OpenSSH
pastebin.com/M1GuAeq0
-- Matt
It's not what I know that counts.
It's what I can remember in time to use.
···
On Tue, 7 Oct 2014, Hassan Schroeder wrote:
On Tue, Oct 7, 2014 at 10:56 AM, Matt Lawrence <matt@technoronin.com> wrote:
I haven't used Ruby for several months and now Net::SSH gives me an
AuthenticationFailed when I try to hand it a user and password.
Versions of Ruby / Net::SSH / OpenSSL?
Have you tried cloning the Net::SSH repo and running the tests on
your system?
A reproducible test case would certainly help (because it works fine
for me in a single very simple test).
Maybe the password in server side had changed?
···
2014-10-07 14:56 GMT-03:00 Matt Lawrence <matt@technoronin.com>:
I haven't used Ruby for several months and now Net::SSH gives me an
AuthenticationFailed when I try to hand it a user and password. SInce this
is the single most useful library I have for doing automation, I am in a
world of hurt. How can I fix this?
-- Matt
It's not what I know that counts.
It's what I can remember in time to use.
--
Juanjo Conti
Mi primer novela ya se puede conseguir en:
Oh, dear OS in firmware? Probably going to be hard to get any
real details about that without an Oracle support contract.
It appears that this thing supports publickey access - maybe give that
a try, at least to compare?
···
On Tue, Oct 7, 2014 at 12:33 PM, Matt Lawrence <matt@technoronin.com> wrote:
I have narrowed it down and it is failing when trying to connect to an
Oracle ILOM.
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
No, I even doublechecked by logging in manually
-- Matt
It's not what I know that counts.
It's what I can remember in time to use.
···
On Tue, 7 Oct 2014, Juanjo Conti wrote:
Maybe the password in server side had changed?
Security folks say no ssh keys. It's frustrating.
-- Matt
It's not what I know that counts.
It's what I can remember in time to use.
···
On Tue, 7 Oct 2014, Hassan Schroeder wrote:
On Tue, Oct 7, 2014 at 12:33 PM, Matt Lawrence <matt@technoronin.com> wrote:
I have narrowed it down and it is failing when trying to connect to an
Oracle ILOM.
Oh, dear OS in firmware? Probably going to be hard to get any
real details about that without an Oracle support contract.
It appears that this thing supports publickey access - maybe give that
a try, at least to compare?
Does it need a TTY allocated? Try, for example, "ssh -lroot dssmgmt18601 ls"
and see what happens, because this way, no TTY is allocated and it would mimic
what Net::SSH is doing.
Although the pastebin says "invalid credentials", authentication succeeds and
a channel is requested. Interaction with the channel fails, after everything
is already set up. Hopefully it is not an issue of exit-status vs. exit-signal
[0]. If it was, it would be up to Net::SSH to patch, but it's quite easy to
catch. I don't know which packet types these are, but the RFC will tell us
that easily.
HTH.
--- Eric
[0]
http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&dlc=en&tmp_geoLoc=true&docname=c03918474
···
On Tuesday 07 October 2014, 14:33:59, Matt Lawrence wrote:
I have narrowed it down and it is failing when trying to connect to an
Oracle ILOM. The ilom is running a version of OpenSSH
pastebin.com/M1GuAeq0
Good catch, that's what it's doing. Now I need to figure out a workaround. In the meantime, I did all of it by hand.
-- Matt
It's not what I know that counts.
It's what I can remember in time to use.
···
On Tue, 7 Oct 2014, Eric MSP Veith wrote:
On Tuesday 07 October 2014, 14:33:59, Matt Lawrence wrote:
I have narrowed it down and it is failing when trying to connect to an
Oracle ILOM. The ilom is running a version of OpenSSH
pastebin.com/M1GuAeq0
Does it need a TTY allocated? Try, for example, "ssh -lroot dssmgmt18601 ls"
and see what happens, because this way, no TTY is allocated and it would mimic
what Net::SSH is doing.
Although the pastebin says "invalid credentials", authentication succeeds and
a channel is requested. Interaction with the channel fails, after everything
is already set up. Hopefully it is not an issue of exit-status vs. exit-signal
[0]. If it was, it would be up to Net::SSH to patch, but it's quite easy to
catch. I don't know which packet types these are, but the RFC will tell us
that easily.
After giving up yesterday and doing it by hand, I was handed a bunch of other systems to deal with this morning. SInce I had a brilliant idea (if I do say so myself) I gave Net::SSH::Telnet a shot. It worked!
-- Matt
It's not what I know that counts.
It's what I can remember in time to use.
···
On Wed, 8 Oct 2014, Eric MSP Veith wrote:
Matt,
On Tuesday 07 October 2014, 16:01:15, Matt Lawrence wrote:
Good catch, that's what it's doing.
which one of the two possible issues was it?
Did you try the TTY-allocated vs. no-TTY version? Because I would like to
investigate this bug, but I've got not ILOM handy. If its just the TTY thing,
it will not really be a bug, but the exit-status vs. exit-signal part would be
interesting.
Thanks!
--- Eric
···
On Wednesday 08 October 2014, 14:52:56, Matt Lawrence wrote:
On Wed, 8 Oct 2014, Eric MSP Veith wrote:
> Matt,
>
> On Tuesday 07 October 2014, 16:01:15, Matt Lawrence wrote:
>> Good catch, that's what it's doing.
>
> which one of the two possible issues was it?
After giving up yesterday and doing it by hand, I was handed a bunch of
other systems to deal with this morning. SInce I had a brilliant idea (if
I do say so myself) I gave Net::SSH::Telnet a shot. It worked!