![]() |
a telnet/unix question
My telnet connection timeout is very short...it always kicks me out...
How do I set telnet session time longer? thank you |
OS? Sure you're not talking about ssh?
|
yes SSH
it's linux
I am using SSH2 on port 22 Quote:
|
ehh in solaris its just sshd_config file.. not sure with linux
solaris > * |
aflex, the sshd daemon is configured via the sshd_config file universaly... at least for openssh, and such variants
|
Quote:
|
Quote:
|
in english please
Guys, thanks for help, but I am not a unix guru....
please help me with a plain english :) how can I change this session time? thanks |
Quote:
what distro? on bsd* /etc/ssh_config or just do a "man ssh_config": (.../...)ConnectTimeout Specifies the timeout (in seconds) used when connecting to the ssh server, instead of using the default system TCP timeout. This value is used only when the target is down or really unreachable, not when it refuses the connection. |
Quote:
|
It might also be a firewall on your network is killing your session.
It used to be like that for my techs. |
I edited
I turned on "KeepAlive yes" in /etc/ssh/sshd_config file?
is this good enough? do I have to restart server? it's not firewall, because I can connect to other servers and stay alive for a long time... |
for any changes made yes you will need to restart. sh /sh /etc/rc.d/sshd restart
|
altho KeepAlive is defaulted to yes... do you not have a tech managing your server for you?
|
just curious
what is the difference between?
/etc/ssh/ssh_config ConnectTimeout and /etc/ssh/sshd_config KeepAlive |
it didn't work
I just restarted the sshd, but still it kicks me out
/etc/ssh/sshd_config KeepAlive any other comment? |
Quote:
|
I mean
I meant it still disconnects after I re-logged in.
KeepAlive yes didn't help |
All times are GMT -7. The time now is 09:26 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123