On Thu, Nov 12, 2020 at 11:52:48AM +0800, Luan Shengde wrote:
On Thu, Nov 12, 2020 at 11:26:20AM +0800, Wu Fengguang wrote:
- my_jumper_pubkey = generate_ssh_key(login_name) if @data['my_jumper_pubkey'].eql? true
generate_ssh_key() should be called if login_name permits ssh login.
by default, the login_name permits login with pubkey or password. how can I determine whether the login_name permits 'ssh login'?
Thanks, Luan Shengde
a question: we add option for answerback-email for generate the keys or not if called the function according to login_name permits whether we still need add the option for answerback-email
Thanks, Luan Shengde
Thanks, Fengguang