[Samba] Winbind + SSH + AIX - Connection to aixserver01 closed by remote host

RobertoBouza at bayviewassetmanagement.com RobertoBouza at bayviewassetmanagement.com
Tue Dec 8 11:12:36 MST 2009


Hello everyone, I'm posting this one again I hope to get some kind of 
help. Doing further test telnet works fine authenticating users but not 
SSH.

I was able to get an AIX box configured with winbind, and it looks like 
everything is working as expected but ssh to the machine and I hope you 
can help me with this.

On the AIX server I'm able to issue wbinfo -u and -g with the right 
information and also I'm able to do a "su - <AD user>" without any 
problem. But when doing a remote SSH I just get this:

Client:

debug2: channel 0: send open
debug1: Requesting no-more-sessions at openssh.com
debug1: Entering interactive session.
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t3 r-1 i0/0 o0/0 fd 4/5 cfd -1)

debug3: channel 0: close_fds r 4 w 5 e 6 c -1
Connection to aixserver01 closed by remote host.
Connection to aixserver01 closed.
Transferred: sent 1648, received 1544 bytes, in 0.0 seconds
Bytes per second: sent 105932.7, received 99247.6
debug1: Exit status -1

On the server aixserver01:

Dec  3 11:23:15 aixserver01 authpriv:debug sshd[467118]: debug1: 
temporarily_use_uid: 150302/100513 (e=0/0)
Dec  3 11:23:15 aixserver01 authpriv:debug sshd[467118]: debug1: trying 
public key file /home/users/robertobouza/.ssh/authorized_keys
Dec  3 11:23:15 aixserver01 authpriv:debug sshd[467118]: debug1: 
restore_uid: 0/0
Dec  3 11:23:15 aixserver01 authpriv:debug sshd[467118]: debug1: 
temporarily_use_uid: 150302/100513 (e=0/0)
Dec  3 11:23:15 aixserver01 authpriv:debug sshd[467118]: debug1: trying 
public key file /home/users/robertobouza/.ssh/authorized_keys2
Dec  3 11:23:15 aixserver01 authpriv:debug sshd[467118]: debug1: 
restore_uid: 0/0
Dec  3 11:23:15 aixserver01 authpriv:info sshd[467118]: Failed publickey 
for robertobouza from 10.10.20.202 port 55612 ssh2
Dec  3 11:23:17 aixserver01 authpriv:info sshd[467118]: Accepted password 
for robertobouza from 10.10.20.202 port 55612 ssh2
Dec  3 11:23:17 aixserver01 authpriv:debug sshd[467118]: debug1: 
monitor_child_preauth: robertobouza has been authenticated by privileged 
process
Dec  3 11:23:17 aixserver01 authpriv:debug sshd[467118]: debug1: 
do_cleanup

So, it looks like everything is working but why do I get a connection 
closed?

Thank you.

Roberto Bouza.


More information about the samba mailing list