Monday, May 13, 2013
Have you ever run into a problem where you have an infinite redirect loop between the OAM server and a webgate?
If so, the first thing to do is CHECK THE TIME on both the webgate and oam hosts!
If the time is out of sync the webgate will think the OAM token has expired - redirecting you back again to the OAM server, who will happily generate another "new" (but expired) token and send you back to the webgate. Rinse and repeat....
I ran into a weird problem where the scp command would refuse to copy a file to a remote host.
The command would complete OK (exit status of 0), but nothing would ever get copied. Head scratcher, and nothing obvious on stackoverflow.
The culprit: http://www.openssh.org/faq.html#2.9
If the above command produces any output, then you need to modify your shell initialization.
ssh yourhost /usr/bin/true