LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 07-19-2005, 12:15 PM   #1
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Rep: Reputation: 30
SFTP and SSH


Is it possible to allow a user remote access to a linux machine via SFTP and NOT SSH? And, vica-versa.

Thanks!!
 
Old 07-19-2005, 02:00 PM   #2
Robattack
LQ Newbie
 
Registered: Dec 2003
Location: Frankfurt, Germany
Distribution: mandriva2006 /dsl-2.0/gentoo-2006.0
Posts: 25

Rep: Reputation: 15
hi,

there is a project called rssh (restricted ssh shell). it only allows scp/sftp.
project page:
http://rssh.sourceforge.net/

maybe that will help you,

i tried it a half year ago and it worked nice.

robattack
 
Old 07-19-2005, 02:31 PM   #3
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
There's also scponly
 
Old 07-19-2005, 04:17 PM   #4
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Original Poster
Rep: Reputation: 30
cool! thanks for your quick response!

Sigsegv,

Do you know if this supports rsa keys? (Sorry for asking, but I haven't read the docs yet!) :-)
 
Old 07-19-2005, 09:54 PM   #5
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
I never tried to get it to work with keys so I have no idea. It's just a shell replacement for a chroot'd scp/sftp session though, so I'd think it would.
 
Old 07-20-2005, 10:18 AM   #6
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Original Poster
Rep: Reputation: 30
i setup scponly to use rsa keys, and it worked! :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ssh/sftp Disconnection basbosco Linux - Security 1 03-12-2004 01:49 PM
ssh sftp-server dtaju Linux - Security 5 02-23-2004 04:16 PM
ssh/sftp/telnet true_atlantis Linux - Newbie 2 12-11-2003 07:18 PM
sftp and ssh-keygen help please grayhost Linux - Newbie 2 06-26-2003 05:51 PM
ssh and sftp help Rex_chaos Linux - Networking 8 03-17-2003 08:12 PM


All times are GMT -5. The time now is 06:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration