AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  putty disappear automatically

    Posted Fri February 29, 2008 02:56 AM

    Originally posted by: chandru0078


    Hi ALL

    Can anyone explain why my putty connection disappear automatically if they is no activities after for few minutes.? I have checked user and root .profile and founded there is no TMOUT value has been set.At/etc/security/login.cfg file value same as other servers but i facing this problem only at few servers. Thank you in advance.

    default:
    sak_enabled = false
    logintimes =
    logindisable = 0
    logininterval = 0
    loginreenable = 0
    logindelay = 0

    */dev/console:
    • synonym = /dev/tty0

    maxlogins = 32767
    logintimeout = 60
    auth_type = STD_AUTH

    chandru0078


  • 2.  Re: putty disappear automatically

    Posted Fri February 29, 2008 10:27 AM

    Originally posted by: SystemAdmin


    You might try using a different client to connect other than PuTTY (using the same type of connection: ssh, telnet, etc) and see if the connection terminates within the same timeframe as when using PuTTY. This type of test should be easy and might be worth your time.

    If you don't experience the same behavior with a different client then things point to a problem with PuTTY itself.

    You might also try connecting to one of the AIX machines that you are having problems with from another AIX machine instead of Windows or from a machine that is on the same subnet. Perhaps you are having firewall/windows problems.

    Also in PuTTY you can specify that the putty window should not close when the connection terminates in the configuration settings under 'Close window on exit:'; this is really just a personal preference.

    I hope this helps......


  • 3.  Re: putty disappear automatically

    Posted Fri February 29, 2008 11:32 AM

    Originally posted by: Carlyle


    You know, of course, that the TMOUT could also be set in /etc/passwd, as it is here.


  • 4.  Re: putty disappear automatically

    Posted Fri February 29, 2008 06:59 PM

    Originally posted by: dukessd


    It could well be a firewall timeout.

    You can send keepalives from putty, check the 'connection' settings in putty.


  • 5.  Re: putty disappear automatically

    Posted Mon March 03, 2008 10:04 AM

    Originally posted by: Carlyle


    That's not right. I was thinking /etc/profile and typed /etc/passwd. Sometimes my fingers do't pay attention to my brain.


  • 6.  Re: putty disappear automatically

    Posted Sat March 01, 2008 08:36 AM

    Originally posted by: IBMFORUMS


    check ssh config file /etc/ssh/ssh_config for ConnectTimeout.
    if it is uncommented?


  • 7.  Re: putty disappear automatically

    Posted Sun March 02, 2008 10:16 PM

    Originally posted by: chandru0078


    Dear ALL

    There is no TMOUT was set in /etc/passwd and at /etc/ssh/ssh_config commented.I'm also connecting some other server from same subnet without facing this problem.is it possible to set firewall timeout for certain servers only in same subnet?i dont think could be putty problem since is works fine with other servers.Very curious to know if shell referring login.cfg file for the timeout why its not working for other servers?
    $
    Shell will time out in 60 seconds.

    $ echo $TMOUT
    600

    $ whoami
    kastel

    kastel:!:503:101:Kastel Users:/home/kastel:/usr/bin/ksh


  • 8.  Re: putty disappear automatically

    Posted Mon March 03, 2008 10:06 AM

    Originally posted by: Carlyle


    I meant, of course /etc/profile, not /etc/passwd.


  • 9.  Re: putty disappear automatically

    Posted Mon March 03, 2008 09:17 PM

    Originally posted by: chandru0078


    Hi Carlyle

    i have checked the .profile for root and kastel user and founded there is NO TMOUT was set.any idea ? thanks for all in advance

    kastel>
    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.

    export PATH

    if -s \"$MAIL\" # This is at Shell startup. In normal
    then echo "$MAILMSG" # operation, the Shell checks
    fi # periodically.

    1. cat .profile
    root>

    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/java14/bin:.
    JAVA_HOME=/usr/java14/bin
    export PATH JAVA_HOME

    if -s \"$MAIL\" # This is at Shell startup. In normal
    then echo "$MAILMSG" # operation, the Shell checks
    fi # periodically.

    chandra