LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH & SFTP questions (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-and-sftp-questions-485711/)

dhaus111 09-21-2006 01:30 PM

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

b0uncer 09-21-2006 01:59 PM

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..

dhaus111 09-22-2006 01:23 PM

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.


All times are GMT -5. The time now is 04:44 PM.