Skip to content

Can ssh to apps I didn't set pub key for #97

Description

@tarasglek
{
    "$schema": "../../schemas/config.schema.json",
    "domain": "smallweb.localhost",
    "oidc": {
        "issuer": "https://auth.smallweb.localhost"
    },
    "authorizedEmails": [
        "achille.lacoin@gmail.com"
    ],
    "apps": {
        "ls": {
            "admin": true,
            "additionalDomains": [
                "custom-domain.localhost"
            ]
        },
        "echo": {
    "authorizedKeys": [
                        "<redacted>"
                      ]

        }
    }
}

./smallweb up --ssh-addr 0.0.0.0:2345 --dir $PWD/example/ --addr 0.0.0.0:7890 --domain localhost

sftp -P 2345  ls@localhost
Connected to localhost.
sftp> ls
main.ts         smallweb.json
sftp>

I should not be able to login with ssh if i haven't declared pub keys, right?

btw here is my logging

Jun 26 18:59:06.400 INF serving http domain=localhost dir=/home/taras/Documents/smallweb/example/ addr=0.0.0.0:7890
Jun 26 18:59:06.400 INF serving ssh addr=0.0.0.0:2345
Jun 26 18:59:12.197 INF successful ssh login logger=ssh user=ls remote_addr=[::1]:43346
Jun 26 19:01:48.310 INF successful ssh login logger=ssh user=ls remote_addr=[::1]:55112

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions