The SCPonly wiki is a bit out of date...
Have you tried SCP instead of SFTP?
The SCPonly mailing list is pretty good, so you may want to ask there.
Have you enabled logging? If so what messages do you get?
I take it you're not trying to use a chrooted jail? (Scponlyc)
Matt
-----Original Message----- From: main-bounces@lists.alug.org.uk [mailto:main-bounces@lists.alug.org.uk] On Behalf Of samwise Sent: 05 July 2009 16:27 To: ALUG Subject: [ALUG] using scponly shell
Hi,
Hopefully, not too off-topic but I'm having trouble setting up a user account on a FreeBSD server (an OS I'm not greatly comfortably with yet), to use the scponly [http://www.sublimation.org/scponly/wiki/] shell.
I basically want to allow the account SFTP access, but not have an interactive login shell - so scponly looks like what I'm after.
I've set the user's login shell to be /usr/ports/shells/scponly and also added the shell to /etc/shells.
When I try to SFTP into the server with the user, though, I'm getting the "Received message too long 1416128883" error. Googling hasn't really helped much.
Anyone got any suggestions?
TIA,
Peter.
_______________________________________________ main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!