I am getting this problem too:
The VM has the correct IP.
I can SSH from the host PC to the VM.
[root@mrc382 simon]# ssh omero@localhost -p 2222
The authenticity of host '[localhost]:2222 ([127.0.0.1]:2222)' can't be established.
RSA key fingerprint is d3:f7:16:50:fe:c9:b8:09:5c:51:d7:6e:74:00:06:e8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts.
omero@localhost's password:
Linux omerovm 2.6.32-5-686 #1 SMP Mon Jun 13 04:13:06 UTC 2011 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue May 29 11:44:47 2012
omero@omerovm:~$
The VM NAT is forwarding:
VirtualBo 8733 simon 35u IPv4 924690 0t0 TCP localhost:2222 (LISTEN)
VirtualBo 8733 simon 36u IPv4 924691 0t0 TCP localhost:8080 (LISTEN)
VirtualBo 8733 simon 37u IPv4 924692 0t0 TCP localhost:4063 (LISTEN)
VirtualBo 8733 simon 38u IPv4 924693 0t0 TCP localhost:4064 (LISTEN)
Connection from insight client fails (root/omero).
The omera server handles the login:
2012-05-29 12:31:01,714 INFO [ ome.services.util.ServiceHandler] (l.Server-2) Executor.doWork -- ome.services.sessions.SessionManagerImpl.executeCheckPasswordRO(root)
2012-05-29 12:31:01,714 INFO [ ome.services.util.ServiceHandler] (l.Server-2) Args: [null, InternalSF@14791603]
2012-05-29 12:31:01,717 INFO [ ome.security.basic.EventHandler] (l.Server-2) Auth: user=0,group=0,event=null(Sessions),sess=db8f2a2b-b501-4b03-9b55-981ae0fe68fb
2012-05-29 12:31:01,719 INFO [ ome.security.auth.LoginAttemptListener] (l.Server-2) Resetting failed login count of 1 for root
2012-05-29 12:31:01,722 INFO [ org.perf4j.TimingLogger] (l.Server-2) start[1338291061714] time[8] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$8.doWork]
2012-05-29 12:31:01,722 INFO [ ome.services.util.ServiceHandler] (l.Server-2) Rslt: true
2012-05-29 12:31:01,723 INFO [ ome.services.util.ServiceHandler] (l.Server-0) Executor.doWork -- ome.services.sessions.SessionManagerImpl.createSession
2012-05-29 12:31:01,724 INFO [ ome.services.util.ServiceHandler] (l.Server-0) Args: [null, InternalSF@14791603]
2012-05-29 12:31:01,787 INFO [ ome.security.basic.EventHandler] (l.Server-0) Auth: user=0,group=0,event=168(Sessions),sess=db8f2a2b-b501-4b03-9b55-981ae0fe68fb
2012-05-29 12:31:01,801 INFO [ ome.security.basic.CurrentDetails] (l.Server-0) Adding log:INSERT,class ome.model.meta.Session,469
2012-05-29 12:31:01,820 INFO [ org.perf4j.TimingLogger] (l.Server-0) start[1338291061724] time[96] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$2.doWork]
2012-05-29 12:31:01,821 INFO [ ome.services.util.ServiceHandler] (l.Server-0) Rslt: (ome.model.meta.Experimenter:Id_0, ome.model.meta.ExperimenterGroup:Id_0, (0, 1), ... 4 more)
2012-05-29 12:31:01,824 INFO [ ome.services.blitz.fire.SessionManagerI] (l.Server-0) Created session ServiceFactoryI(session-9ec86d24-0a45-4f40-a297-6befbb804fd0/4a9cc3f1-2efc-4833-9780-eff78eb67e19) for user root (agent=OMERO.java)
2012-05-29 12:31:01,831 INFO [ omero.cmd.SessionI] (l.Server-4) Added servant to adapter: 4a9cc3f1-2efc-4833-9780-eff78eb67e19/9ec86d24-0a45-4f40-a297-6befbb804fd0omero.api.IConfig(omero.api._IConfigTie@a058289)
2012-05-29 12:31:01,834 INFO [ ome.services.util.ServiceHandler] (l.Server-1) Meth: interface ome.api.IConfig.getConfigValue
2012-05-29 12:31:01,834 INFO [ ome.services.util.ServiceHandler] (l.Server-1) Args: [omero.router.insecure]
2012-05-29 12:31:01,854 INFO [ ome.security.basic.EventHandler] (l.Server-1) Auth: user=0,group=0,event=169(User),sess=4a9cc3f1-2efc-4833-9780-eff78eb67e19
2012-05-29 12:31:01,858 INFO [ org.perf4j.TimingLogger] (l.Server-1) start[1338291061834] time[24] tag[omero.call.success.ome.logic.ConfigImpl.getConfigValue]
2012-05-29 12:31:01,858 INFO [ ome.services.util.ServiceHandler] (l.Server-1) Rslt: OMERO.Glacier2/router:tcp -p 4063 -h @omero.host@
2012-05-29 12:31:01,873 INFO [ ome.services.blitz.fire.SessionManagerI] (l.Server-9) Found session locally: 4a9cc3f1-2efc-4833-9780-eff78eb67e19
2012-05-29 12:31:01,875 INFO [ ome.services.blitz.fire.SessionManagerI] (l.Server-9) Rejoining session ServiceFactoryI(session-ab70ace1-42b2-4d8b-a260-4df3dc713095/4a9cc3f1-2efc-4833-9780-eff78eb67e19) (agent=OMERO.insight;secure=false)
2012-05-29 12:31:01,883 INFO [ ome.services.util.ServiceHandler] (l.Server-5) Meth: interface ome.api.IAdmin.lookupExperimenter
2012-05-29 12:31:01,883 INFO [ ome.services.util.ServiceHandler] (l.Server-5) Args: [root]
2012-05-29 12:31:01,887 INFO [ ome.security.basic.EventHandler] (l.Server-5) Auth: user=0,group=0,event=null(User),sess=d791e28b-2d23-4a77-bd81-b3fe66ec332a
2012-05-29 12:31:01,894 INFO [ org.perf4j.TimingLogger] (l.Server-5) start[1338291061883] time[11] tag[omero.call.success.ome.logic.AdminImpl.lookupExperimenter]
2012-05-29 12:31:01,895 INFO [ ome.services.util.ServiceHandler] (l.Server-5) Rslt: ome.model.meta.Experimenter:Id_0
CLI works fine from SSH or VM login.
Any ideas anyone?
Simon Greenaway