Networking Forums

Networking Forums > Computer Networking > Linux Networking > Secure filetransfer (ssh) without interactive shell?

Reply
Thread Tools Display Modes

Secure filetransfer (ssh) without interactive shell?

 
 
Ewald Jenisch
Guest
Posts: n/a

 
      09-25-2003, 08:00 AM
Hi,

I want to set up a secure filetransfer (ssh/sftp) that allows transfers
only from certain hosts and certain users. This can be done via the
"sshd"-config file afaik.

In addition, I don't want the respective users to be capable of anything
but scp - so the respective user(s) should *not* have an interactive
shell - they should only be capable of doing scp, but no interactive ssh.

Put in another way what I want is this: Secure filetransfer plus keeping
the respective users in a "closed environment" (like the chrooted-env
you've got using normal ftp) without giving them normal shell access.

TIA for your help,
-ewald

 
Reply With Quote
 
 
 
 
Vampire at Wicked Empire
Guest
Posts: n/a

 
      09-25-2003, 09:14 AM
Ewald Jenisch wrote:
> Hi,
>
> I want to set up a secure filetransfer (ssh/sftp) that allows transfers
> only from certain hosts and certain users. This can be done via the
> "sshd"-config file afaik.
>
> In addition, I don't want the respective users to be capable of anything
> but scp - so the respective user(s) should *not* have an interactive
> shell - they should only be capable of doing scp, but no interactive ssh.
>
> Put in another way what I want is this: Secure filetransfer plus keeping
> the respective users in a "closed environment" (like the chrooted-env
> you've got using normal ftp) without giving them normal shell access.
>
> TIA for your help,
> -ewald
>


Modify /etc/shells
add
/bin/true

Change the login shell of those users to /bin/true



--
My projects:
http://fftv.sourceforge.net
http://tcron.sourceforge.net
http://www.csie.nctu.edu.tw/~cp76/gcb

 
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TeacherLED — Interactive Whiteboard Resources For yfop875448 Broadband 0 03-11-2011 12:44 AM
Secure Shell (SSH) & VPN's For Windows XP & Vista (Resellers Wanted) International Alliance Privacy Services Windows Networking 0 01-28-2009 05:21 PM
shell mu91t Linux Networking 1 08-02-2008 06:30 AM
p2p on shell. Mr_jud Linux Networking 0 12-08-2005 05:04 PM
Prioritizing interactive traffic * Tong * Linux Networking 0 12-05-2003 02:41 PM



1 2 3 4 5 6 7 8 9 10 11