ssh with X forwarding
When I ssh to my solaris 10 6/06 PC forwarding X as well I observe the following:
root@hostname> ssh -X root@solarisPC
root@solarisPC> xterm &
then when if a press any key on the xterm window just opened
ssh closes connection. The same happens not only with xterm
but with any applications like emacs, xemacs e.t.c.
Is there something I am doing wrong? I have also noticed
that the ssh connection will be soon reseted by peer. The same
happens to the vnc session. If I start a vnc server on solarisPC
then it will be soon, after more or less 10-15 minutes, closed.
What could be wrong here?
Thanks ...
[684 byte] By [
stimenia] at [2007-11-26 9:23:39]

# 2
No. Because if there was any sort of firewall then I wouldn't
be able to connect at all. SSH port is closed when there is
a firewall. In my case It gets connected but it ony lasts for 10 minutes
more or less. The question is : Is there any special tweak or
option in sshd_config which controls the how long an ssh
session will be open which by default is tweaked in a small
value?
# 3
> No. Because if there was any sort of firewall then I
> wouldn't
> be able to connect at all. SSH port is closed when
> there is
> a firewall.
That's certainly not true. A firewall or NAT device may allow particular ports (such as SSH). Connection with SSH is not evidence against them.
Both Firewalls and NAT devices may maintain an active connection only for a particular period of time. 10 minutes would be extremely short, but not unheard of.
> In my case It gets connected but it ony
> lasts for 10 minutes
> more or less. The question is : Is there any special
> tweak or
> option in sshd_config which controls the how long an
> ssh
> session will be open which by default is tweaked in
> a small
> alue?
No. By default, neither SSH nor Solaris limit the period of time for connections.
--
Darren