LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2006, 02:29 PM   #1
Braynid
Member
 
Registered: May 2006
Location: Romania
Distribution: CentOS
Posts: 140

Rep: Reputation: 15
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.
 
Old 05-27-2006, 02:52 PM   #2
pansarevaibhav
Member
 
Registered: Oct 2005
Location: mumbai
Posts: 34

Rep: Reputation: 15
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
 
Old 05-27-2006, 03:11 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
Old 05-27-2006, 03:59 PM   #4
Braynid
Member
 
Registered: May 2006
Location: Romania
Distribution: CentOS
Posts: 140

Original Poster
Rep: Reputation: 15
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
custom Login shell in /etc/passwd pypieuvre Linux - Software 1 02-16-2006 07:19 AM
custom login screen santhosh_o Linux - General 4 10-27-2004 07:24 AM
custom login screen santhosh_o Linux - Newbie 1 10-27-2004 07:20 AM
custom login screen? santhosh_o General 2 10-27-2004 07:20 AM
SSH custom configuration tarballedtux Linux - Networking 0 08-30-2001 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration