open-ssh on AIX

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am trying to create connection through open-ssh between a client and
I am trying to run the server in a user account:
sshd -h test -p 2000 -f config -d

under this user(test1) I create .ssh directory.
The .ssh directory contains:
authorized_keys - file contain the authorize client and its public
config - configuration file      
test, - public & private key.

In the client side I run:
ssh -p 2000 test1@oz ls

In the client side under the home user account I have .ssh directory:
config  - configuration file          
known_hosts  - The host that permitted and public key of the remote
test_lreshef, - public and private key.

I got an error message:

sshd -h test -p 2000 -f sshd_config -d
debug1: sshd version OpenSSH_3.4p1
debug1: read PEM private key done: type DSA
debug1: private host key: #0 type 2 DSA
debug1: Bind to port 2000 on
Server listening on port 2000.
debug1: Server will not fork when running in debugging mode.
Connection from port 53534
debug1: Client protocol version 2.0; client software version
debug1: match: OpenSSH_3.4p1 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.4p1
debug1: list_hostkey_types: ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
WARNING: /etc/ssh/moduli does not exist, using old modulus
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug1: dh_gen_key: priv key bits set: 130/256
debug1: bits set: 504/1024
debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
debug1: bits set: 505/1024
debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug1: userauth-request for user test1 service ssh-connection method
debug1: attempt 0 failures 0
Login restricted for test1: 3004-301 Your account has been locked;
please see the system administrator.
input_userauth_request: illegal user test1
Failed none for illegal user test1 from port 53534 ssh2
Connection closed by
debug1: Calling cleanup 0x2001474c(0x0)
debug1: Calling cleanup 0x2001474c(0x0)

What is wrong?


Re: open-ssh on AIX

Quoted text here. Click to load it
Quoted text here. Click to load it

The account is locked.  Unlock it through SMIT.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Site Timeline