- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: SSH Timeout
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-13-2010 06:04 PM
08-13-2010 06:04 PM
SSH Timeout
-------------------------------
Read from remote host zxhx101 : Connection reset by peer
Connection to zxhx101 closed.
-------------------------------
After some times(hours) , my connections gets time out with above message . I want to increase the SSH timeout .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-13-2010 06:30 PM
08-13-2010 06:30 PM
Re: SSH Timeout
What makes you think that it's related to
SSH? Does an idle Telnet connection stay up
longer? Is there a TMOUT (or similar) time
limit in the shell on the remote system?
What is the remote system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-13-2010 09:47 PM
08-13-2010 09:47 PM
Re: SSH Timeout
There may be network timeout limit.
From server site ssh configuration is set in following file.
/opt/ssh/etc/sshd_config
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-14-2010 09:08 AM
08-14-2010 09:08 AM
Re: SSH Timeout
Can you send output of /etc/opt/ssh/sshd_config file.
wheather this issue is only with ssh or in telnet also.
if issue has come both telnet and ssh, then look over /etc/profile file for TMOUT veriable value.and also look over user's .profile for TMOUT variable value
Regards
Saurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-14-2010 10:23 AM
08-14-2010 10:23 AM
Re: SSH Timeout
> TMOUT veriable value.and also look over
> user's .profile for TMOUT variable value
First:
echo $TMOUT
Then, if it's set, start looking for who set
it. If it's not set, then I wouldn't bother
looking for where it gets set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-15-2010 07:38 AM
08-15-2010 07:38 AM
Re: SSH Timeout
TMOUT is set to zero . Infact , its set to zero on all servers but i am facing this problem with 2 new servers only .
Telnet i need to check .
$ echo $TMOUT
0
sshd_config file as below (only non-hash entries)
----------------------------------
Protocol 2,1
KerberosAuthentication yes
UsePAM yes
X11Forwarding yes
TCPKeepAlive yes
ClientAliveInterval 0
ClientAliveCountMax 3
MaxStartups 30
HPNDisabled yes
Subsystem sftp /opt/ssh/libexec/sftp-server
----------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-16-2010 09:56 AM
08-16-2010 09:56 AM
Re: SSH Timeout
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP