Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 24th October 2008, 19:49
Mosquito Mosquito is offline
Join Date: Nov 2006
Posts: 85
Thanks: 5
Thanked 6 Times in 5 Posts
Default Allow SCP but not SSH (How?)

I am attempting to find a way to allow scp access (via winSCP - Windows Client) but not allow SSH access for the same user.

I found this
but it doesn't work as I expected. Instead it seems to completely block the user - even after I've allowed all methods of connecting. The FAQ of this says the author does not support WinSCP. He also notes that the newer versions should be able to be used - but I have the most recent version of winSCP I can find (4) and it still doesn't work.

So, my question is - how can I allow scp access for a user (or group of users), but prevent those same users the ability to log in via SSH. The initial intended user is using Windows - and the WinSCP client.

Has anyone does this, and if so could you point me in the right direction?

Thank you

Edit: Clarifications - I have attempted to use the rssh shell above and I am unable to connect via WinSCP or via a commandline scp call from another linux system.

This is on CentOS 5.2.

Last edited by Mosquito; 24th October 2008 at 19:53.
Reply With Quote
Sponsored Links
Old 25th October 2008, 12:00
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

This might help: http://www.mail-archive.com/ssh@clinet.fi/msg06759.html
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH to fedora 9 box which forwards to XP box for RDP doublejz Technical 1 21st October 2008 19:16
SSH Problem - Receive signal 15 Terminating joelee Technical 1 28th September 2007 19:47
SSH Chroot Problems sinjab Installation/Configuration 7 24th August 2007 10:23
SSH port forwarding (SQLYog Tunnel) mastorna Server Operation 0 22nd June 2006 02:16
ssh chroot works, but no scp for chroot users zokahn HOWTO-Related Questions 5 30th January 2006 10:33

All times are GMT +2. The time now is 03:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.