Find the answer to your Linux question:
Results 1 to 3 of 3
can anybody provide me the package used for monitoring ssh sessions from Red hat linux server . I am new buddy in ssh. installed ssh and users are connected to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    61

    ssh session


    can anybody provide me the package used for monitoring ssh sessions from Red hat linux server . I am new buddy in ssh. installed ssh and users are connected to ssh and i want to know how to disconnect ssh sessions. I was readinf the following link http://www.suso.org/docs/shell/ssh.sdf where it was mentioned ti use gtk2-askpass package. I searched on internet but could locate it.

    sort out this prob.

  2. #2
    Just Joined!
    Join Date
    Feb 2007
    Posts
    1

    result

    Hi,
    To logout of ssh :exit
    (or) control +d

    even i do use this in my office i do the same thing ,don't whether this will solve
    ur problem or not.

  3. #3
    Linux Newbie
    Join Date
    Feb 2007
    Location
    San Antonio, TX
    Posts
    114
    You could always type
    Code:
    ps -Lf -u user
    to view all processes a person is running

    If you look at the TTY column for a process, you should see something like "pts/5", that tells you the terminal associated with that process. Elsewhere in the list you should see the PID for that terminal, it will look something like:
    Code:
    500      31356 31352 31356  0    1 Feb23 ?        00:00:24 sshd: user@pts/5
    If you kill that process (in this case, #31356), it will shut down everything the user is running in that terminal and kick them out of ssh.

    I don't know of a utility that will do this all for you, but one probably exists somewhere

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •