It's been a few months since this was posted, but I recently got some
updated information back from IBM and thought I'd share here. This is
specific to using 'ssh -tt' to connect to sshd running on AIX.
>From IBM support:
*Here is a summary of my observations till now - *
*1. The server child process terminates since it is the process that gets*
*scheduled immediately after a fork. It sets up the shell, sets other *
*environment variables and goes ahead to exec the command and it *
*completes its execution. Later the server parent process gets executed *
*which tries to close the slave side of the pseudo terminal (since it *
*will be attached to the ssh client) and it gets struck there since the *
*server child process has already terminated. *
*2. In case there is some scheduler switching that happens between these
two process and if the child process is still present when parent tries to
close the slave side of pseudo terminal, then the parents goes ahead and
send the CHANNEL_WINDOW_ADJUST packet to ssh client program followed by
SSH2_MSG_CHANNEL_SUCCESS / FAILURE message and we dont see any issue *
*<-- This is the working case. *
*3. My further steps will be to see if this behaviour is also seen on a
Linux machine, if yes then I will report it to the community and get a fix
for the same else I will work on a solution that is specific to AIX *
*(maybe through some locks or other methods which can introduce the *
*synchronisation between these processes) *
This is as of 12-14-15. I was able to see this behavior connecting from
Linux (various flavors and versions) to AIX, from AIX to AIX (both 6.1 and
7.1), as well as from AIX connecting to sshd on localhost. This is with
different versions of OpenSSH distributed with AIX (depends on AIX level
and any additional patched versions of OpenSSH installed).
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/67760016-5378-4ac7-9c9f-b0e651092307%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.