LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 01-13-2003, 01:20 AM   #1
log
Member
 
Registered: Dec 2002
Location: South Australia
Distribution: Gentoo
Posts: 113

Rep: Reputation: 15
See a telnet session


Say I telnet to my computer from uni and I want to see that specific telnet session from my actual computer, is it possible?

thanks!
 
Old 01-13-2003, 03:10 AM   #2
lhiggins
Member
 
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105

Rep: Reputation: 15
What do you mean to see that specific telnet session from my actual computer?

I for one would not use telnet. I am not at uni or college. I dont think they would use the insecure telnet.
The next best thing is ssh. Its basically secure telnet. Runs on a different port also.

See http://www.openssh.com/

If you have ssh installed on your machine. You can access it via the prompt: ssh username @IP address or hostname

Last edited by lhiggins; 01-13-2003 at 03:12 AM.
 
Old 01-13-2003, 03:35 AM   #3
log
Member
 
Registered: Dec 2002
Location: South Australia
Distribution: Gentoo
Posts: 113

Original Poster
Rep: Reputation: 15
Say I have a linux server with people sshing in.

I want to look at any of the ssh sessions or telnet sessions and see what they are doing? is this possible?

note: im wont be spying on anyone, I just want to see whats happening on my own account (and there is only my one account anyway)
 
Old 01-13-2003, 04:28 AM   #4
lhiggins
Member
 
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105

Rep: Reputation: 15
mmmm. I'm not sure. My experience in linux isnt that vast. Maybe there is a log you could view. Dont ask me what it is.

Just dont use telnet. Its insecure. Passwords are sent through clear text. SSH isnt.
 
Old 01-13-2003, 08:02 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,987
Blog Entries: 54

Rep: Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742
There are some means for users snooping, some are already on a regular system, the others border on the malicious and usage could well break your box (or open security holes).
Lastcomm will give you all commands entered in the console (man lastcomm),
then there's the shells' history file (~/.bash_history for bash) or you could execute "script" from ~/.bash_profile, but both history and script are easy to thwart.
You can use tcpdump to log sessions.
If you want to log commands from a pty/tty then appcap, ttysnoop, linspy or a kernel module called "exec.o" should do.
If recompiling the kernel is no problem, then the Grsecurity patches also provide a way to log user activity.
 
Old 01-13-2003, 08:11 AM   #6
log
Member
 
Registered: Dec 2002
Location: South Australia
Distribution: Gentoo
Posts: 113

Original Poster
Rep: Reputation: 15
thanks for your help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
telnet session slow froggo Linux - General 2 06-14-2005 02:37 PM
tcpdump of a telnet session Paul McLean Linux - Networking 2 11-26-2004 01:33 PM
telnet session in RHEL3.0 excelon969 Linux - Networking 1 11-11-2004 03:09 PM
Telnet session limit.. killjoy Linux - Networking 1 03-22-2001 01:57 PM
Automatic telnet session kobilevi Programming 2 03-18-2001 04:20 PM


All times are GMT -5. The time now is 10:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration