Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-12-2005, 09:02 PM   #1
daddy321
Registered User
 
Join Date: Jul 2005
Posts: 22
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
daddy321 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 09:40 PM   #2
tahiti
Confirmed User
 
Join Date: Oct 2003
Location: localhost
Posts: 699
OS? Sure you're not talking about ssh?
__________________
-------------------------------
Oliver Smith
"Drunk Russian Hackers are Invincible"
ASCII P0rn rules
aim: olvrsmt
icq: 21018030
tahiti is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 09:42 PM   #3
daddy321
Registered User
 
Join Date: Jul 2005
Posts: 22
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?
daddy321 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 09:46 PM   #4
aflex
Confirmed User
 
Join Date: Oct 2002
Location: New Jersey - adaptweb at gmail.com
Posts: 3,127
ehh in solaris its just sshd_config file.. not sure with linux

solaris > *
__________________
self made mothafucka.

buying premium domains & developed sites with revenue/traffic -> adaptweb at gmail.com
aflex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 09:47 PM   #5
com
Confirmed User
 
Join Date: Aug 2003
Location: Portland, Oregon
Posts: 4,541
aflex, the sshd daemon is configured via the sshd_config file universaly... at least for openssh, and such variants
__________________

Real. Professional. Hosting.
.:Expect Nothing Less:.
320-078-843 :: www.realprohosting.com :: [email protected]
com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 09:51 PM   #6
aflex
Confirmed User
 
Join Date: Oct 2002
Location: New Jersey - adaptweb at gmail.com
Posts: 3,127
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
__________________
self made mothafucka.

buying premium domains & developed sites with revenue/traffic -> adaptweb at gmail.com
aflex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 09:52 PM   #7
com
Confirmed User
 
Join Date: Aug 2003
Location: Portland, Oregon
Posts: 4,541
Quote:
Originally Posted by aflex
cool, i guess i answered his questions somewhat =P
teach a man to fish....
__________________

Real. Professional. Hosting.
.:Expect Nothing Less:.
320-078-843 :: www.realprohosting.com :: [email protected]
com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 09:55 PM   #8
daddy321
Registered User
 
Join Date: Jul 2005
Posts: 22
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
daddy321 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 10:03 PM   #9
tahiti
Confirmed User
 
Join Date: Oct 2003
Location: localhost
Posts: 699
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.
__________________
-------------------------------
Oliver Smith
"Drunk Russian Hackers are Invincible"
ASCII P0rn rules
aim: olvrsmt
icq: 21018030
tahiti is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 10:13 PM   #10
com
Confirmed User
 
Join Date: Aug 2003
Location: Portland, Oregon
Posts: 4,541
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
__________________

Real. Professional. Hosting.
.:Expect Nothing Less:.
320-078-843 :: www.realprohosting.com :: [email protected]
com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 10:23 PM   #11
Penthouse_mike
Confirmed User
 
Industry Role:
Join Date: Jun 2003
Location: Silicon Valley
Posts: 317
It might also be a firewall on your network is killing your session.
It used to be like that for my techs.
Penthouse_mike is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 10:28 PM   #12
daddy321
Registered User
 
Join Date: Jul 2005
Posts: 22
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...
daddy321 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 10:29 PM   #13
com
Confirmed User
 
Join Date: Aug 2003
Location: Portland, Oregon
Posts: 4,541
for any changes made yes you will need to restart. sh /sh /etc/rc.d/sshd restart
__________________

Real. Professional. Hosting.
.:Expect Nothing Less:.
320-078-843 :: www.realprohosting.com :: [email protected]
com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 10:31 PM   #14
com
Confirmed User
 
Join Date: Aug 2003
Location: Portland, Oregon
Posts: 4,541
altho KeepAlive is defaulted to yes... do you not have a tech managing your server for you?
__________________

Real. Professional. Hosting.
.:Expect Nothing Less:.
320-078-843 :: www.realprohosting.com :: [email protected]
com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 10:41 PM   #15
daddy321
Registered User
 
Join Date: Jul 2005
Posts: 22
just curious

what is the difference between?

/etc/ssh/ssh_config
ConnectTimeout

and

/etc/ssh/sshd_config
KeepAlive
daddy321 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 10:43 PM   #16
daddy321
Registered User
 
Join Date: Jul 2005
Posts: 22
it didn't work

I just restarted the sshd, but still it kicks me out

/etc/ssh/sshd_config
KeepAlive

any other comment?
daddy321 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 10:45 PM   #17
aflex
Confirmed User
 
Join Date: Oct 2002
Location: New Jersey - adaptweb at gmail.com
Posts: 3,127
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...
__________________
self made mothafucka.

buying premium domains & developed sites with revenue/traffic -> adaptweb at gmail.com
aflex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2005, 10:48 PM   #18
daddy321
Registered User
 
Join Date: Jul 2005
Posts: 22
I mean

I meant it still disconnects after I re-logged in.

KeepAlive yes didn't help
daddy321 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.