Click to See Complete Forum and Search --> : Telnet Problem...
cyberseal
11-16-2000, 10:17 AM
I have a redhat linux 6.2 box at home that I telnet to from work to teat applications and just to play around with. Yesterday I had to cut a session short and disconnect while in the middle of a PERL install. Now, after several reboots, my system shows the user I was using as still logged in and will not accept any more telnet connections. Any ideas?
boogeyman
11-16-2000, 10:37 AM
I'm sorry I can't help you with that. But, since you seem to be trying the same thing I am, would you be able to provide me with some details on how to do this?
I just installed webadmin (www.webadmin.com) it installed fine. But, how do I telnet to it from work? Do i need to record the IP address and telnet to the box or is some other way to do this.
Maybe you can try webadmin and if it works ok, maybe you can give me some pointers on making this work?
Also, my modem disconnects from the ISP after a while. Is there a way of forcing it to stay connected or to have a program automatically re-dial the connection?
Thanx and I hope we can both somehow help each other.
------------------
Check out my tunes!
<A HREF="http://www.mp3.com/artists/29/dexxx.html" TARGET=_blank>
My Tunes</A>
bugfix
11-16-2000, 11:12 AM
Don't telnet remotely! Its not encypted and so any info sent over it (user names and passwords) all available for all to see with a packet sniffer. Use SSH instead - link here (http://www.openssh.org)
As root type ps -a to see all the processes and kill the process that the user is running on.
In answer to Boogeyman, yeah you need to know your IP unless you've got a static ip adress and have payed for a domain name to point to it.
TTFN,
duggeB.
cyberseal
11-16-2000, 11:27 AM
I know about SSH and this box is a dev server that's rebuilt weekly so security is not really an issue. Someone just last week hacked in and became root and did some strange things. I like for this machine to be hacked. Keeps me on my toes as far as learning about Linux and security.
I haven't used webadmin before I dont think. My redhat install is pretty basic. I do a custom install however do not individually choose tha packages. Under this install I am able to telnet in directly after booting the machine. You need a telnet client, like Tera Term and your IP address or domain name. ALso a user account and pass that can telnet. You cannot telnet in as root unless you set it up. Does that help any, I'm rather new to alot of this myself.
redline
11-16-2000, 03:59 PM
Boogeyman, you can put in a perlscript, (ping -s 5 your.server.ip.address > /dev/null) then stick that script in the cron tab and have it run every 10 min or so...
redline
http://www.linuxnewbie.org/ubb/cool.gifRedHat http://www.linuxnewbie.org/ubb/cool.gif