Re: ssh problem
Bertrand Yvain wrote:
> Hi,
>
> On Wed, Aug 26, 2009 at 04:52:38PM +0200, randall wrote:
>> i can login using SSH and issue commands.
>> but when opening a file or starting top the screen goes black until the
>> connection times out, reset by peer.
>>
>> i can copy files to the machine using SCP but i can not copy them back,
>> it stalls until the time out.
>>
>> a website is hosted on the machine and you can connect to it but it
>> keeps on waiting for the server till the morning comes.
>>
>> the machines acts as a router for a local LAN, eth1 faces the LAN and
>> eth0 faces the net, no problems for the people on the LAN
>
> Looks like a PMTU issue.
> Would you happen to have net.ipv4.ip_no_pmtu_disc = 1 in your sysctls?
>
just noticed that i do can cat small files, it hangs on more substantial
sized files though.
but below answers the question, nope.
host:~# cat /etc/sysctl.conf
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See sysctl.conf (5) for information.
#
#kernel.domainname = example.com
#net/ipv4/icmp_echo_ignore_broadcasts=1
# Uncomment the following to stop low-level messages on console
#kernel.printk = 4 4 1 7
##############################################################3
# Functions previously found in netbase
#
# Uncomment the next line to enable Spoof protection (reverse-path filter)
#net.ipv4.conf.default.rp_filter=1
# Uncomment the next line to enable TCP/IP SYN cookies
#net.ipv4.tcp_syncookies=1
# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.conf.default.forwarding=1
# Uncomment the next line to enable packet forwarding for IPv6
#net.ipv6.conf.default.forwarding=1
Reply to: