Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gyrex-dev] Access OSGI console via SSH

Hi Gunnar,
i am trying to do this.

"Currently only key-based authorization is supported in the Gyrex bundled SSH console. Also, the OSGi SSH console does not support different roles/permissions. Thus, every logged in user can execute all commands. In order to be able to login an authorized_keys file need to be created in the instance data location at <runtime-workspace>/etc/.ssh/authorized_keys. That's a regular authorized_keys file as typically found on Linux systems (1, 2). When connecting to the SSH console using a key any username is sufficient. "

1) created the folder "etc/.ssh" under <GYREX_HOME>/workspace
2) created an authorized_keys file under that folder
3) created a ssh-key with ssh-keygen (without pass phrase)
4) put the .pub file content in authorized_keys file
5) put the private file in ./ssh folder under my home.
6) try to connect by using: ssh ubuntu@localhost -p 3122

but it ask me the password, and then fails.





On Tue, Apr 23, 2013 at 3:48 PM, Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx> wrote:
Am 23.04.2013 15:22, schrieb Matteo Cusmai:

Hi all,
which user i have to use in order to access OSGI console via SSH?

Any. We don't currently limit the user name.
http://wiki.eclipse.org/Gyrex/Administrator_Guide#Authorization

-Gunnar


--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/
_______________________________________________
gyrex-dev mailing list
gyrex-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gyrex-dev


Back to the top