Terminal Closed automitically...


 
Thread Tools Search this Thread
Operating Systems Solaris Terminal Closed automitically...
# 1  
Old 11-30-2007
Terminal Closed automitically...

Hi experts,

I am using Solaris 9. I use to login to solaris through Putty/TeraTerm Terminal software from my PC. After login if i keep myself idle in that window i found after couple of minutes Terminal vanish automatically.

Even if i run some program in background/foreground and wait for finishing the process, after couple of minutes same things happend.

And worst thing is that when Terminal Close background/foreground program also closed.:confused

Please advise..
# 2  
Old 11-30-2007
Go in to PuTTY Configuration and under Connection Category change "Sending of null packets to keep session active" to something other than 0.....now save this to the server config you have already saved otherwise the keepalive won't apply...
# 3  
Old 12-03-2007
purple

Quote:
Originally Posted by kingdbag
Go in to PuTTY Configuration and under Connection Category change "Sending of null packets to keep session active"
I did NOT "Sending of null packets to keep session active" Option in My putty under Connection Category. In Connection Category i have Data, Proxy, Telnet, Rlogin.
# 4  
Old 12-03-2007
It may be caused by TMOUT shell variable. Unset it.
Regarding to those background processes, that's normal. When the shell exits it sends HUP signal to all its child processes. If you want to avoid such behaviour, use "nohup".
Regards.
# 5  
Old 12-03-2007
The "Sending of null packets to keep session active" option is listed in the connection category. Click the connection category and and look for options controlling the connection on the right hand side of the configuration window. Data, proxy, telnet, rlogin are sub categories of connection category.

You may also increase the timeout value in the /etc/sshd/sshd_config file if you want.
# 6  
Old 12-03-2007
Purple

Quote:
Originally Posted by encrypted
The "Sending of null packets to keep session active" option is listed in the connection category. Click the connection category and and look for options controlling the connection on the right hand side of the configuration window. Data, proxy, telnet, rlogin are sub categories of connection category.

You may also increase the timeout value in the /etc/sshd/sshd_config file if you want.
Many Thanks. I was missed to see the option of "Sending of null...." I set the value of 'second between keepalives' 1. And telnet sessions is not auto closing.

I do not change anything in /etc/ssh/sshd_config.
# 7  
Old 12-03-2007
purple

Quote:
Originally Posted by grial
It may be caused by TMOUT shell variable. Unset it.

Regarding to those background processes, that's normal. When the shell exits it sends HUP signal to all its child processes. If you want to avoid such behaviour, use "nohup".
Regards.
Though my 'auto closing telnet session' solved but below is my interest to know it.

Where i can found the TMOUT for unset.??

And how to use the "nohup" ??
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

2. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

3. UNIX for Dummies Questions & Answers

Does DOS has a terminal or pseudo terminal?

I am wondering if the DOS console works like the unix terminal? (1 Reply)
Discussion started by: vistastar
1 Replies

4. UNIX for Dummies Questions & Answers

Gnuplot wxt terminal vs x11 terminal

Hi, I installed ubuntu recently on my pc. And I installed gnuplot as well. When I first started working with gnuplot it was working . I did a plot and when I wanted to fit my data something happened and not the default terminal of gnuplot is xwt! I changed it to: set terminal x11, but it... (0 Replies)
Discussion started by: cosmologist
0 Replies

5. Shell Programming and Scripting

ftp will be going on though terminal will be closed

howdy expert, I have a big file arround 4 gb to ftp from a sun solaris server. I would like to have script which will start copy the file though i close my working terminal. regards, purple (4 Replies)
Discussion started by: thepurple
4 Replies

6. UNIX for Dummies Questions & Answers

ssh_exchange_identification: Connection closed by remote host Connection closed

Hi Everyone, Good day. Scenario: 2 unix servers -- A (SunOS) and B (AIX) I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time. Some of these sftp's fail with the following error: ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies

7. UNIX for Advanced & Expert Users

Pseudo-terminal will not be allocated because stdin is not a terminal.

I am trying to automate a SSH login using Keys using the following command ssh -i id_rsa usernamw@ipaddr. I am successful in doing this and i am getting the Warning Screen and I logon successfully. but when I am executing the command tail -1cf put.dat | ssh -i id_rsa username@ipaddr > get.dat ... (1 Reply)
Discussion started by: Shivdatta
1 Replies

8. UNIX for Dummies Questions & Answers

mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why?

mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why? AHHHH!! I have been connecting to the server with the line: ssh userid@website.com The remote server accepts my password; logs me in with ssh; posts a lovely welcome message AND closes the session. Is this a "term... (0 Replies)
Discussion started by: xprankard
0 Replies

9. UNIX for Advanced & Expert Users

connecting to unix through hyper terminal - as a dumb terminal

I just changed from windows NT to XP and I am no longer able to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies
Login or Register to Ask a Question