SSH and nopty

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

SSH and nopty

Richard Heasman
Good morning,

Firstly, thanks for your ongoing development and good work.

I have a question that I would like to pose to you, as I have not found
any satisfactory answer despite long research.

We use ssh keys to distribute code and run commands. These are
appropriately controlled and logged. However I wish to stop
users/administrators using these as a back-door to the other systems. I
have configured the "notty" option on the authorised_keys file, yet this
still does not prevent the following:

ssh SERVER ksh

This will not return a prompt but will allow commands to be run

Do you have any recommendation / setting that would prevent this?


Richard Heasman

SSE | 4 Penner Road, Havant, Hants, PO9 1QH, UK

Direct: +44 (023) 9227 7564 / 37564

How did I do? Please press one of the following buttons to provide
feedback about the response I gave you today.
More than I expected, thanks very much.
Good stuff, thanks!
Solid standard responses.
My performance is fine, but you don't like / agree with the answer you've
got from me.
Got there in the end.
I'll work on these!
Registered Office: Inveralmond House 200 Dunkeld Road Perth PH1 3AQ
Registered in Scotland No. SC117119


[demime 1.01d removed an attachment of type image/jpeg]