Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can one configure sshd_config to allow only sshfs?

69 views
Skip to first unread message

tin...@isbd.co.uk

unread,
Dec 22, 2009, 12:04:36 PM12/22/09
to
Is it possible to configure sshd_config (or something else for that
matter) so that *only* sshfs works across an ssh connection? I.e. is
there anything one can put in ForceCommand that would allow only this
to work?

--
Chris Green

Nico Kadel-Garcia

unread,
Dec 22, 2009, 12:36:54 PM12/22/09
to

This seems.... extremely unlikely. Since sshfs relies on sftp,
according to its notes at sourceforge, I don't think you can disable
sftp and not sshfs.

What are you trying to achieve? If it's shell access which concerns
you, that's a different question.

Ryan Knapper

unread,
Dec 27, 2009, 11:17:38 PM12/27/09
to

I'm not sure about sshfs, but you can set a user's shell to be scponly
(http://www.sublimation.org/scponly/wiki/index.php/Main_Page) and they
won't get an interactive shell; only sftp.

0 new messages