I am not aware of a way. Create a user with a random 32 character password copy the ssh keys in. don’t tell the user the character password
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net]
On Behalf Of BERNTSEN Basil
Sent: Friday, April 15, 2016 1:30 PM
To: toasters@teaparty.net
Subject: 7-mode user account with no password, only ssh
Hi folks,
Is it possible to create a user in 7-mode without specifying a password, or alternatively disallow password logins for a specific user? My goal is to create a user that must use an ssh key to run CLI commands.
Cheers!
Basil
*************************************************************************
This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information. Any unauthorized use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SOCIETE
GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. Please visit
http://sgasdisclosure.com for important information regarding SG Americas Securities, LLC (“SGAS”). Please visit
http://swapdisclosure.sgcib.com for important information regarding swap transactions with SOCIETE GENERALE.
*************************************************************************