Skip to content

command=" authorized_keys not enforced? #473

@andynz2017

Description

@andynz2017

Authentication using publickey to workstation user account (non domain user).
Syntax Used:
command="C:\folder location\application folder\binary" ssh-rsa KEY HERE rmteuser@rmtehost
Authentication over SSH successful even though command not specified on the client side, and enforced in authorized_keys file server side. Shell access acquired where it should be restricted if command not specified?

Unsure if this is an issue with how I have defined the command statement in the authorized_keys file or whether this is an underlying bug. Please advise, may just be me being a muppet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions