GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   a telnet/unix question (https://gfy.com/showthread.php?t=539784)

daddy321 11-12-2005 09:02 PM

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

tahiti 11-12-2005 09:40 PM

OS? Sure you're not talking about ssh?

daddy321 11-12-2005 09:42 PM

yes SSH
 
it's linux

I am using SSH2 on port 22

Quote:

Originally Posted by tahiti
OS? Sure you're not talking about ssh?


aflex 11-12-2005 09:46 PM

ehh in solaris its just sshd_config file.. not sure with linux

solaris > *

com 11-12-2005 09:47 PM

aflex, the sshd daemon is configured via the sshd_config file universaly... at least for openssh, and such variants

aflex 11-12-2005 09:51 PM

Quote:

Originally Posted by com
aflex, the sshd daemon is configured via the sshd_config file universaly... at least for openssh, and such variants

cool, i guess i answered his questions somewhat =P

com 11-12-2005 09:52 PM

Quote:

Originally Posted by aflex
cool, i guess i answered his questions somewhat =P

teach a man to fish....

daddy321 11-12-2005 09:55 PM

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

tahiti 11-12-2005 10:03 PM

Quote:

Originally Posted by daddy321
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


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.

com 11-12-2005 10:13 PM

Quote:

Originally Posted by tahiti
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.

/etc/ssh/sshd_config

Penthouse_mike 11-12-2005 10:23 PM

It might also be a firewall on your network is killing your session.
It used to be like that for my techs.

daddy321 11-12-2005 10:28 PM

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...

com 11-12-2005 10:29 PM

for any changes made yes you will need to restart. sh /sh /etc/rc.d/sshd restart

com 11-12-2005 10:31 PM

altho KeepAlive is defaulted to yes... do you not have a tech managing your server for you?

daddy321 11-12-2005 10:41 PM

just curious
 
what is the difference between?

/etc/ssh/ssh_config
ConnectTimeout

and

/etc/ssh/sshd_config
KeepAlive

daddy321 11-12-2005 10:43 PM

it didn't work
 
I just restarted the sshd, but still it kicks me out

/etc/ssh/sshd_config
KeepAlive

any other comment?

aflex 11-12-2005 10:45 PM

Quote:

Originally Posted by daddy321
I just restarted the sshd, but still it kicks me out

/etc/ssh/sshd_config
KeepAlive

any other comment?

if you were connected via ssh and then restarted the sshd daemon... you'd get kicked out anyway...

daddy321 11-12-2005 10:48 PM

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