[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bigsister-general] SSH Tunnel Problem


Hi,

You should replace 'localhost' by 127.0.0.1 in the line
localhost port=10984 bsdisplay
in uxmon-net

I once noticed that the agent doesn't use 127.0.0.1 when instructed to
use "localhost"; it takes the "official" LAN address instead, whereas
the SSH tunnel is listening on the 127.0.0.1 interface.

I hope this helps.

Best regards,

Silviu

-----Original Message-----
From: suppressed
[mailto:suppressed On Behalf Of
Shoup, Mike
Sent: mardi 5 juillet 2005 23:24
To: suppressed
Subject: [Bigsister-general] SSH Tunnel Problem

In order to get connect to our display server without having to punch
holes though the firewall, we need to do SSH Tunnels on a few of our
servers.
Currently, I beleive we have the SSH tunnel setup correctly, however the
Big Sister agent doesn't seem to reporting to the display.
 
On the agent, in /etc/rc.local we have:
# Start up Big Sister SSH Tunnel
su bigsis -c 'nohup ssh -L 10984:displayserver:1984 -N displayserver &'
 
We also have the proper SSH keys so that the user bigsis can
authenticate to the displayserver without a passphrase.
 
Now, I have tested this on the agent host by running:
telnet localhost 10984
status agent.test green
END
 
Appears to work.
 
So, I have the line in /etc/bigsister/uxmon-net:
localhost port=10984 bsdisplay
 
Then I start up the big sister agent. One problem, the big sister agent
never seems like it reports to the display server. I can still test and
make sure the tunnel is running manually via telnet, however, the agent
just doesn't seem to do anything.
 
What seems to be missing?
 
Mike Shoup
303.706.4921 (x64921)
EchoStar Satellite L.L.C.
Inverness IT Linux Intern


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opÌk
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.