Re: ssh Question
From:Date: 11/05/02
- Next message: : "Re: Potential crafted packets vulnerability in firewalls"
- Previous message: John H. Zouck: "Re: redhat-sgi-mips denial of service hole via unkillable processes"
- In reply to: laura Hradowy: "ssh Question"
- Next in thread: Hamil Cooper: "Re: ssh Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 5 Nov 2002 20:49:18 +0100
laura Hradowy (<c6Tx9.6528$b5.30862@news1.mts.net>):
> I am running RH advanced server 2.1 with OpenSSH_3.1p1, SSH
> protocols 1.5/2.0, OpenSSL 0x0090602f,
> openssh-server-3.1p1-2.i386.rpm
Update, this is AFAIK a version with security problems.
> Is there a command that lets me view the hosts that are logged in
> using ssh, or even better, what if I do not want that certain host
> to regenerate the key, or disallow them, where would it be, or
> what command.
Unsure what you mean with key/regenerate, you mean user, not host?
However, you could lookup actual ssh connections like this:
# netstat -tpa | grep sshd | grep EST
Try, for more options:
man netstat
Another thing, could be the log files in /var/log, sshd logging can
be tuned, to your needs.
For more options:
sshd (8)
sshd_config (5)
> I am also switching over my users from wu-ftp to sftp, in wu-ftp I
> can check who is logging is with ftpwho.
>
> I can also have a banner and welcome page, I know in sshd, you can
> stipulate a banner in the sshd_config, I have yet to get it to
> work. It does mention to use motd but I would like to get it to
> work before authentication, as well as for sftp.
It's just a text file you need to put somewhere, edit sshd_config:
#Banner /some/path
And restart sshd, that's all;)
Good luck
Michael Heiming
-- Remove the +SIGNS case mail bounces.
- Next message: : "Re: Potential crafted packets vulnerability in firewalls"
- Previous message: John H. Zouck: "Re: redhat-sgi-mips denial of service hole via unkillable processes"
- In reply to: laura Hradowy: "ssh Question"
- Next in thread: Hamil Cooper: "Re: ssh Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|