![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Registered User
Join Date: Jul 2005
Posts: 22
|
yes SSH
it's linux
I am using SSH2 on port 22 Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Oct 2002
Location: New Jersey - adaptweb at gmail.com
Posts: 3,127
|
Quote:
__________________
self made mothafucka. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Aug 2003
Location: Portland, Oregon
Posts: 4,541
|
Quote:
__________________
Real. Professional. Hosting. .:Expect Nothing Less:. 320-078-843 :: www.realprohosting.com :: [email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Oct 2003
Location: localhost
Posts: 699
|
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.
__________________
------------------------------- Oliver Smith "Drunk Russian Hackers are Invincible" ASCII P0rn rules aim: olvrsmt icq: 21018030 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Aug 2003
Location: Portland, Oregon
Posts: 4,541
|
Quote:
__________________
Real. Professional. Hosting. .:Expect Nothing Less:. 320-078-843 :: www.realprohosting.com :: [email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
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... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
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] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
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] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Confirmed User
Join Date: Oct 2002
Location: New Jersey - adaptweb at gmail.com
Posts: 3,127
|
Quote:
__________________
self made mothafucka. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |