PeterNic
02-20-2008, 09:12 PM
A customer asked:
>the docs at: >http://doc.3tera.net/AppLogic2/AdvScripting.html say
>" The corresponding public key must have been installed on the
>controller via the Web interface or by another user that has shell
>access to the controller."
>
>But I can't find the web interface location to do that, not do I see the
>shell command to install that key.
You can add an ssh key for a user via the 'user set' command, see http://doc.3tera.net/AppLogic2/CliUser.html#AnchorSet
Essentially, it is:
user set myname@mydomain.com sshkey="ssh-....."
Please use the OpenSSH public key format (in OpenSSH format, the public key is a single, long line). If your key has a comment, you will get a notice that the comment has been ignored (which is OK). Both RSA and DSS keys are supported.
You can execute this command through the web shell, accessible from the first page of the grid dashboard. To paste the key, use the web shell's paste function (right-click, Paste; see help in the Paste dialog for
details on pasting through a browser).
When accessing the controller over ssh, please use user name 'root', not your myname@mydomain.com name.
Best regards,
-- Peter
>the docs at: >http://doc.3tera.net/AppLogic2/AdvScripting.html say
>" The corresponding public key must have been installed on the
>controller via the Web interface or by another user that has shell
>access to the controller."
>
>But I can't find the web interface location to do that, not do I see the
>shell command to install that key.
You can add an ssh key for a user via the 'user set' command, see http://doc.3tera.net/AppLogic2/CliUser.html#AnchorSet
Essentially, it is:
user set myname@mydomain.com sshkey="ssh-....."
Please use the OpenSSH public key format (in OpenSSH format, the public key is a single, long line). If your key has a comment, you will get a notice that the comment has been ignored (which is OK). Both RSA and DSS keys are supported.
You can execute this command through the web shell, accessible from the first page of the grid dashboard. To paste the key, use the web shell's paste function (right-click, Paste; see help in the Paste dialog for
details on pasting through a browser).
When accessing the controller over ssh, please use user name 'root', not your myname@mydomain.com name.
Best regards,
-- Peter