This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

unable to set cc set ssh

Hi,
stupiqd question:
How can I set pubkey_authentication via cc?

cc set ssh pubkey_authentication =yes
does not work. 

:/root # cc get ssh pubkey_authentication
ssh->pubkey_authentication = 0

Any ideas?

Thanks,
(I know the way via webadmin but I'm looking for the certain cc command.


This thread was automatically locked due to age.
Parents
  • Try this command:
    cc set ssh pubkey_auth 1
  • Try this command:
    cc set ssh pubkey_auth 1


    no, does not work

    /root # cc set ssh pubkey_auth yes
    [
              'INCOMPATIBLE_DATA',
              {
                'Nattrs' => [
                              'nodelist'
                            ],
                'attrs' => [],
                'check' => 'input',
                'datatype' => 'BOOL',
                'fatal' => 1,
                'format' => 'The %_N requires %_d.',
                'msgtype' => 'INCOMPATIBLE_DATA',
                'name' => 'The SSH public key authentication switch requires boolean data.',
                'never_hide' => 0,
                'nodelist' => 'ssh->pubkey_auth',
                'value' => 'yes'


    Thanks
    Cheers
Reply
  • Try this command:
    cc set ssh pubkey_auth 1


    no, does not work

    /root # cc set ssh pubkey_auth yes
    [
              'INCOMPATIBLE_DATA',
              {
                'Nattrs' => [
                              'nodelist'
                            ],
                'attrs' => [],
                'check' => 'input',
                'datatype' => 'BOOL',
                'fatal' => 1,
                'format' => 'The %_N requires %_d.',
                'msgtype' => 'INCOMPATIBLE_DATA',
                'name' => 'The SSH public key authentication switch requires boolean data.',
                'never_hide' => 0,
                'nodelist' => 'ssh->pubkey_auth',
                'value' => 'yes'


    Thanks
    Cheers
Children
No Data