Re: SSH commands to HMC
- From: Andrew Garnett <andrewwdg@xxxxxxxxxxx>
- Date: Tue, 12 Sep 2006 15:19:12 +0100
Thanks Stanislav,
the SSH client is an an AIX 4.3.3 system.
I thought it sounded like a typical DNS timeout as
well, so I put the IP address of the client into the
hosts file on the HMC. Same result so far...
I don't know what RG starvation is, so I'll
investigate.
Thanks,
--- Stanislav Grozev <tacho@xxxxxxxxxxx> wrote:
Hi Andrew,___________________________________________________________
on what machine are you running the SSH client?
Linux, AIX, something else?
This looks to me as either DNS problems (reverse
resolving) on the HMC side,
or random generator starvation from the clients'
side (much less likely
nowadays, but still...)
HTH,
tacho
On 9/12/06 3:30 PM, "Andrew Garnett"
<andrewwdg@xxxxxxxxxxx> wrote:
Thanks to all for any advice.seconds
Edward, the output from verbose mode is not very
helpful as you can see below (timeout).
The crazy thing is that an identical call 2
later works OK (below).up
It is as if the 1st call fails, but somehow wakes
the connection.0.9.7b
ssh -v -v -l hscroot 10.26.10.21 date
OpenSSH_3.7p1, SSH protocols 1.5/2.0, OpenSSL
10 Apr 2003port
debug1: Reading configuration data
/usr/local/etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.26.10.21 [10.26.10.21]
22.Connection
debug1: connect to address 10.26.10.21 port 22:
Connection timed out
ssh: connect to host 10.26.10.21 port 22:
timed out0.9.7b
root@node9>ssh -v -v -l hscroot 10.26.10.21 date
OpenSSH_3.7p1, SSH protocols 1.5/2.0, OpenSSL
10 Apr 2003port
debug1: Reading configuration data
/usr/local/etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.26.10.21 [10.26.10.21]
22.software
debug1: Connection established.
debug1: identity file /.ssh/identity type -1
debug1: identity file /.ssh/id_rsa type -1
debug2: key_type_from_name: unknown key type
'-----BEGIN'
debug2: key_type_from_name: unknown key type
'Proc-Type:'
debug2: key_type_from_name: unknown key type
'DEK-Info:'
debug2: key_type_from_name: unknown key type
'-----END'
debug1: identity file /.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote
version OpenSSH_3.4p12.0
debug1: match: OpenSSH_3.4p1 pat
OpenSSH_3.2*,OpenSSH_3.3*,OpenSSH_3.4*,OpenSSH_
3.5*
debug1: Enabling compatibility mode for protocol
debug1: Local version string SSH-2.0-OpenSSH_3.7p1I do
.
.
. etc until successful connection
I assume that ssh, ssl firewalls etc are OK since
actually get a success on subsequent calls.it
--- "Davignon, Edward"
<Edward.Davignon@xxxxxxxxxxxxxx> wrote:
What are the results of verbose mode:
ssh -v -l hscroot 10.26.10.21 date
or extra verbose mode:
ssh -v -v -l hscroot 10.26.10.21 date
Edward Davignon
Lead Analyst - Distributed Systems
Utility Shared Services - IT
Energy East Corporation
-----Original Message-----
From: IBM AIX Discussion List
[mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Andrew Garnett
Sent: Monday, September 11, 2006 10:38 AM
To: aix-l@xxxxxxxxxxxxx
Subject: SSH commands to HMC
All,
I am sending hmc commands to an HMC from a UNIX
command-line using ssh.
On the first call the connection times out (see
below).
On the subsequent call (immediately afterwards)
timeoutconnects and runs OK, as do any other iterations.
If I leave it a few minutes, I'm back to a
Connectionand
then it continues OK.
root@node9>ssh -l hscroot 10.26.10.21 date
ssh: connect to host 10.56.0.224 port 22:
timed out
root@node9>ssh -l hscroot 10.26.10.21 date
Sun Sep 10 00:20:58 BST 2006
This is hopeless for scripting.Anyone know what
causes
it ?
___________________________________________________________stunning
All new Yahoo! Mail "The new Interface is
in its simplicity and
ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
The all-new Yahoo! Mail goes wherever you go -free your email address from
your Internet provider.http://uk.docs.yahoo.com/nowyoucan.html
--
Stanislav Grozev
UNIX Systems Administration, ERA dept.
Enterprise Operations Division, Mobiltel EAD
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
- Follow-Ups:
- Re: SSH commands to HMC
- From: Enrique Sanchez Vela
- Re: SSH commands to HMC
- References:
- Re: SSH commands to HMC
- From: Stanislav Grozev
- Re: SSH commands to HMC
- Prev by Date: Looking for conserver-8.1.7 rpm package
- Next by Date: Re: Timezone zic-compatible file for GRNLNDST
- Previous by thread: Looking for conserver-8.1.7 rpm package
- Next by thread: Re: SSH commands to HMC
- Index(es):
Relevant Pages
- Re: SSH commands to HMC
... debug1: Reading configuration data ... debug1: connect to address 10.26.10.21
port 22: ... Connection timed out ... ssh: connect to host 10.26.10.21
port 22: Connection ... (AIX-L) - Help request: problems with a 5.1 server and large numbers of ssh users.
... FreeBSD 5.1 because I need to be able to support ldap authentication.) ... My
version of ssh is 3.6.1p2 patched to address the security concerns. ... debug1:
Rhosts Authentication disabled, ... debug1: Connection established. ... (freebsd-current) - Help request: problems with a 5.1 server and large numbers of ssh users.
... FreeBSD 5.1 because I need to be able to support ldap authentication.) ... My
version of ssh is 3.6.1p2 patched to address the security concerns. ... debug1:
Rhosts Authentication disabled, ... debug1: Connection established. ... (freebsd-hackers) - SSH TCP forwarding: works with v1, not with v2 ssh
... that they're setting up the tunnels with no problem, ... I can get to the work
ssh daemon: ... debug1: Connections to remote port 65002 forwarded to local address
palimpsest:22 ... something answers (if I get "connection refused" there's no listener);
... (FreeBSD-Security) - Re: SSH TCP forwarding: works with v1, not with v2 ssh
... >that they're setting up the tunnels with no problem, ... >I can get to
the work ssh daemon: ... > debug1: Entering interactive session. ... >
Connection closed by foreign host. ... (FreeBSD-Security)