Hi all, when using the auth-agent and doing multi-hop connects I see that the forwarded authentication agent connections are not properly closed after connections are shut down. This makes the innermost ssh wait on logout, i.e. I have to use "~." to close the connection. Do I miss something? Ralph Lange ps. To give details, here is a sample session's "-v" output. "ocean" is the first hop, the logged connection to "ash" is the second. ocean: ~ > ocean: ~ > ~# The following connections are open: ocean: ~ > ssh -v ash SSH Version 1.2.27 [hppa1.0-hp-hpux10.20], protocol version 1.5. Standard version. Does not use RSAREF. ocean: Reading configuration data /home/unix/lange/.ssh/config ocean: Applying options for ash ocean: Reading configuration data /etc/opt/ssh/ssh_config ocean: ssh_connect: getuid 209 geteuid 0 anon 0 ocean: Connecting to ash [193.149.12.178] port 22. ocean: Allocated local port 1021. ocean: Connection established. ocean: Remote protocol version 1.5, remote software version 1.2.27 ocean: Waiting for server public key. ocean: Received server public key (768 bits) and host key (1024 bits). ocean: Host 'ash' is known and matches the host key. ocean: Initializing random; seed file /home/unix/lange/.ssh/random_seed ocean: Encryption type: idea ocean: Sent encrypted session key. ocean: Installing crc compensation attack detector. ocean: Received encrypted confirmation. ocean: Trying rhosts or /etc/hosts.equiv with RSA host authentication. ocean: Remote: Accepted for ocean.acc.bessy.de [193.149.12.137] by /etc/hosts.equiv. ocean: Received RSA challenge for host key from server. ocean: Sending response to host key RSA challenge. ocean: Remote: Rhosts with RSA host authentication accepted. ocean: Rhosts or /etc/hosts.equiv with RSA host authentication accepted by server. ocean: Requesting pty. ocean: Requesting authentication agent forwarding. ocean: Requesting shell. ocean: Entering interactive session. No mail. ash: .../gateway/test > ash: .../gateway/test > ~# The following connections are open: authentication agent connection ash: .../gateway/test > logout Connection to ash closed. ocean: Transferred: stdin 9, stdout 376, stderr 27 bytes in 46.1 seconds ocean: Bytes per second: stdin 0.2, stdout 8.2, stderr 0.6 ocean: Exit status 1 ocean: ~ > ocean: ~ > ~# The following connections are open: authentication agent connection ocean: ~ >
