News for hackers. Stuff that matters.
Re:Building Interactive SSH Applications by smhenderson on Monday September 02, 2019 @08:46AM (#20858744)
Does bob have proper permissions to delete root? Probably not...

But otherwise, yes, you can run any valid command or pipeline on the server side so rm -rf is certainly acceptable.

Re:Building Interactive SSH Applications by megous on Monday September 02, 2019 @01:04PM (#20860401)
Bob does not, but the AuthorizedKeysCommand runs as:

    AuthorizedKeysCommandUser root
I'm pretty sure that is enough permissions to cause trouble.
Re:Building Interactive SSH Applications by smhenderson on Monday September 02, 2019 @01:15PM (#20860477)
I confess I read the article after my comment and saw that.

I was just talking about standard ssh behavior.

I wouldn’t use that without seriously studying it end to end. As another comment said, “seems kind of hacky”.