Odd SSH Tunnel Only problem (authorized_keys restrictions)
Hello,
I am trying to configure a small embedded device, running Dropbear, to allow SSH key authentication while only allow tunnelling through that connection. I have been reading the authorized_keys manual and it seems I should be able to do something like this in the user's authorized_keys files:
no-pty,no-X11-forwarding,permitopen="localhost:25",command="/bin/false" ssh-rsa .........
However, as soon as I do this the connecting client cannot connect anymore with the error "Permission denied (publickey)". The permissions on the authorized_keys file is still correct. Removing the restrictions from the authorized_keys file allows the client to connect again, although they have shell access. Am I being silly here, is there another step I am missing!?
|