Re: ssh Question

From:
Date: 11/05/02


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.



Relevant Pages

  • Re: SmallC
    ... to the host in the form of a 3-byte movement data packet (as described ... the counter is not incremented/decremented until it is reset. ... after the mouse receives any command from the host other than the ...
    (alt.lang.asm)
  • Re: ps/2 mouse w/o int33
    ... The standard PS/2 mouse sends movement/button information to the host ... (ie, after a packet is sent to the host, the movement counters are reset.) ... They are also reset after the mouse receives any command from the host ... Host: F3 Set Sample Rate: Attempt to Enter Microsoft ...
    (comp.lang.asm.x86)
  • Re: ssh2
    ... That's why putty can't detect that there's a problem, because it doesn't have the *correct* values, and so doesn't know that there is now an incorrect host key machine at the end of the socket. ... The worrying thing is that since the sshd now asks for ssh2 protocol only, there is a new sshd operating, one you didn't install, and one which may be copying keystroke data (login names and passwords) to some unauthorized other site. ...
    (Fedora)
  • RV: remote tape with ontape (dd command) fail after openssh install
    ... I solved the permission denied of root remote command adding remote host to ... The source of problem has to do with the post installation openssh. ...
    (comp.databases.informix)
  • Re: One computer cant see the other.
    ... When I net view from the client computer to the host computer I get my ... When I click on the shared folders in My Network Places(on ... command prompt on my host machine and my client machine when I ping the host. ... Open a command prompt window first, ...
    (microsoft.public.windowsxp.network_web)

Quantcast