about as proper as if you had unplugged the cable I would imagine.<br>If you know you're going to log off the local machine after you SSH session, than try something like <br><br>you@localhost ssh you@remotehost && exit
<br><br>when you type exit on the remotehost it will exit with a status 0 and then the localhost will log you off.<br>if the exit status is anything but zero (say you lose internet and you get bumped off) it will not execute the exit command. To do this you must replace the double-ampersands with a semi-colan ';'  This method doesn't care about exit status.
<br><br><div><span class="gmail_quote">On 1/22/07, <b class="gmail_sendername">Daniel Bauer</b> <<a href="mailto:linux@daniel-bauer.com">linux@daniel-bauer.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi list,<br><br>usually I close the console window by typing "exit". When I su to another user<br>or open a ssh session session to another PC etc.... I have to type "exit"<br>twice.<br><br>Question: what happens when I just close the konsole window by mouse click?
<br>Will it properly log out/close the ssh connection just the same as if I typed<br>exit?<br><br>Daniel<br>--<br>Daniel Bauer photographer Basel Switzerland<br>professional photography: <a href="http://www.daniel-bauer.com">
http://www.daniel-bauer.com</a><br>Madagascar special: <a href="http://www.sanic.ch">http://www.sanic.ch</a><br>___________________________________________________<br>This message is from the kde mailing list.<br>Account management:  
<a href="https://mail.kde.org/mailman/listinfo/kde">https://mail.kde.org/mailman/listinfo/kde</a>.<br>Archives: <a href="http://lists.kde.org/">http://lists.kde.org/</a>.<br>More info: <a href="http://www.kde.org/faq.html">
http://www.kde.org/faq.html</a>.<br></blockquote></div><br><br clear="all"><br>-- <br>In vino veritas.<br>        [In wine there is truth.]<br>                -- Pliny