LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Custom ssh login (https://www.linuxquestions.org/questions/linux-newbie-8/custom-ssh-login-449111/)

Braynid 05-27-2006 02:29 PM

Custom ssh login
 
I know this is very basic but i really had no time to look it up properly, but i will real soon.
I want to list some info (some telnet addresses) when i login remotely using ssh.
I think it's done using echo in a file that is played when i logon, but i really don't know how to do that.
Thanks a lot for your kind help.

pansarevaibhav 05-27-2006 02:52 PM

hi,
what u want to do exactly
wanna check who all r doing telnet to ur server, then lots of commands r there
tcpdump
netstat -a
if anything else pl specify it
thanks

Brian1 05-27-2006 03:11 PM

Quick way I know of after you login in is add the text you want to see to /etc/mtod file.
This will display to all that login and accepted. Not sure of a way to do per individual basis if needed.

Brian1

Braynid 05-27-2006 03:59 PM

Quote:

Originally Posted by Brian1
Quick way I know of after you login in is add the text you want to see to /etc/mtod file.
This will display to all that login and accepted. Not sure of a way to do per individual basis if needed.

Brian1

This is what i want to do, thanks a lot. It seems so easy when u know what u're doing. Thank you very much, for all the support. The community here is really great!


All times are GMT -5. The time now is 07:57 PM.