Forbidden error while SSH

Hello

I have created a user and trying trying to SSH with the user token, I’m getting 403 error.

root@Predator:~# boundary connect ssh -target-id ttcp_1234567890
Error from controller when performing authorize-session against target:
Error information:
Code:
Message: Forbidden
Status: 403
root@Predator:~#

Is there anything I’m missing ?

ttcp_1234567890 is the initial target referring to localhost port 22. In your boundary connect-command where is your user defined?

boundary connect ssh -target-id ttcp_1234567890 -username <your created user>

Because it’s a ssh connection to localhost, is your configuration accepting a connection from this new user?

Hi,

Even I got the same error, but this happens when a new user is added. Is there any way we can enable a detailed error log for what happening.

boundary sessions list -scope-id <your scope id>

Grap the session id and try

boundary sessions read -id <session id>

Maybe there will be some helpful output.

@Wolfsrudel Thanks, I was able to solve it. Looks like a config problem