James Falkner Vor 9 Jahren Very cool, Kamesh! I just set this up and it was pretty painless, but a few things you might want to fix: I put the equinox_console_jaas.conf file in the data/osgi folder as you suggested, but I had to fix the path to it in setenv.sh using: EQUINOX_JAAS_OPTS="-Djava.security.auth.login.config=../data/osgi/equinox_console_jaas.conf". Also, when I stopped and restarted the portal, it seems like the ssh keys were re-generated, so when I tried to ssh again, I got a scary error from ssh about changing identifiers. I had to delete the localhost:2225 line from my ~/.ssh/known_hosts file. Finally, your example ssh command from the last paragraph in this blog entry uses port 2525 but your example config sets it to 2225 Thanks again, this is really awesome! Any idea how I could disable the Telnet part of the Gogo shell (so I don't have potential insecure ports open)? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Kamesh Sampath Vor 9 Jahren Hey James, thanks for point out the typos , Ijust make the module.framework.properties.osgi.console to empty in my portal-ext.properties to disable telnet port, I tried it and got it working. To avoid the "localhosts" form known_hosts checking you can add "NoHostAuthenticationForLocalhost yes" into "~/.ssh/config" or do ssh with option "--o NoHostAuthenticationForLocalhost" when doing ssh. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen James Falkner Kamesh Sampath Vor 9 Jahren Cool, worked! Thanks Kamesh, this is super cool. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
James Falkner Kamesh Sampath Vor 9 Jahren Cool, worked! Thanks Kamesh, this is super cool. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen