LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2006, 01:30 PM   #1
dhaus111
LQ Newbie
 
Registered: Feb 2006
Posts: 26

Rep: Reputation: 15
SSH & SFTP questions


If I create a ssh/SFTP server, how would I monitor usage (current login's, transfers) and administer punishment if necessary (kicking, banning). Also any good chroot howto's would be helpful also. Thanks
 
Old 09-21-2006, 01:59 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Hmm well current logins can be seen using w or who, but I'm not sure about the transfers..well there are tools of course to see open files and so on, but is it really ethical to spy on what they're transferring? I mean, if you're an admin, it doesn't necessarily belong to you what the users transfer. ISPs work so they've said what you can do and cannont, and if they happen to get a clue you're doing something wrong, they do something about it, but they still have no right to spy on what you are exactly doing. In here one big company tried that and got busted.

Also, punishment is always a per-case thing, so you shouldn't automate that, but personally see what has been violated and act accordingly. And since you're running a server, you already know how to add and remove, lock and unlock user accounts..or if you don't, I suggest you don't try to run a server of any kind yet.

How-tos can be found using Google, easily. Even good how-tos can be found there. I doubt if you have even tried to search, if you're asking that here..
 
Old 09-22-2006, 01:23 PM   #3
dhaus111
LQ Newbie
 
Registered: Feb 2006
Posts: 26

Original Poster
Rep: Reputation: 15
hmm

I did all that post in a sort of hurry, I should have given more details and thats my bad. But I think you've got the wrong impression. The "Server" I'm starting is my personal computer that I set up for my own access at first. Then I started giving a few friends accts so they may access a few files that friends would be interested in (Mp3s pron movies etc...). I don't feel that it's unethical to want to know what my computer and my internet connection is/are doing due to outside infulences. I'd also like to know so I can know whether or not any user has been compromised and is doing things unconducive to that actual user.

As far as the howto on chroot, you're sorta mistaken, tho I don't blame you for the response. I simply was trying to kill two birds with one stone. I have indeed looked it up on google, I just haven't done any yet. I threw it in as a last minute thing hoping that there could be something out there that I could have overlooked. Thats it...

Other than w and who and finger, I was hoping for some program, with or without GUI, that would provide me information that would be pertinent. Is there any such thing. Googles results are clouded. Thats why I post here, as a last resort. Or sometimes I'm just lazy... ehehhe.
 
  


Reply



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
sftp and ssh kehkok Linux - Networking 4 09-20-2006 02:53 PM
allow ssh, scp and sftp? javier_ccs Linux - Newbie 6 09-12-2006 08:11 AM
SFTP and SSH XaViaR Linux - Security 5 07-20-2005 10:18 AM
ssh and sftp help Rex_chaos Linux - Networking 8 03-17-2003 08:12 PM
ssh & sftp, DISCONNECTED:corrupted MAC on input frieza Linux - Networking 6 02-16-2003 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration