To configure "Cross-cell single sign-on" in the WebSphere 6.1 admin console with a Jython script, you can use the script below. This assumes that you've exported the keys from the server you are going to connect to.
Tag: Jython
How to configure a Shared Library in WebSphere with Jython
Here's a script that I used to configure a Shared Library in WebSphere 6.1 using Jython.
How to configure WebSphere Global Security to use LDAP with Jython
Here's a script that I used to configure the WebSphere 6.1 global security setting to use LDAP using Jython.