Debug added
This commit is contained in:
parent
d98c6cc974
commit
4dcd1f3d8c
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ class Main(app.App):
|
||||||
user = ssh_extract_user(pubkey)
|
user = ssh_extract_user(pubkey)
|
||||||
if not re.search(r"\s", pubkey):
|
if not re.search(r"\s", pubkey):
|
||||||
pubkey = None
|
pubkey = None
|
||||||
|
logger.debug("pubkey: %s", pubkey)
|
||||||
if user is None:
|
if user is None:
|
||||||
log.error('Cannot parse user from SSH public key.')
|
log.error('Cannot parse user from SSH public key.')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in a new issue