Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

mysterious freeze when doing ssh to a remote machine

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
carbon
Guru
Guru
User avatar
Posts: 455
Joined: Fri Jun 27, 2003 4:12 pm
Location: New York

mysterious freeze when doing ssh to a remote machine

  • Quote

Post by carbon » Wed Jul 23, 2003 3:28 pm

i have icq running off a screen at my home gentoo machine, so when i ssh to my home machine from work and do a screen -r icq, icq comes back up as usual.

but the problem is, the terminal that i use to ssh back home will freeze for no reason. i ssh again and the screen stay attached by that "dead" ssh (i know that by doing ps auxf) , so i have to kill that ssh thread and ssh again, if i do that, icq will come up as usual.

screen and icq didnt crash, so it gotta be the ssh or my terminal program.

any clue?
I do what I want, and that's what I do.
GNU World Domination

Carbon
Top
eee
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 115
Joined: Thu May 29, 2003 4:54 pm
Location: MD
Contact:
Contact eee
Website

ProtocolKeepAlives?

  • Quote

Post by eee » Wed Jul 23, 2003 5:20 pm

I was experiencing similar problems with my ssh due to inactivity or a bad connection or a combintation of both. I was able to resolve it by installing the Debian ssh client, which has a patch for ProtocolKeepAlives, which I set to 100. No more dropped connections after that.

The Debian ssh package is located at:

http://packages.debian.org/unstable/net/ssh.html

From the man page:
ProtocolKeepAlives
Specifies the interval in seconds at which IGNORE packets will
be sent to the server during idle periods. Use this option in
scripts to detect when the network fails. The argument must be
an integer. The default is 0 (disabled), or 300 if the
BatchMode option is set.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic