PDA

View Full Version : Scanning logs with telnet


esllou
09-19-2006, 07:17 AM
I need to find out if a file has been downloaded or not on a particular day.

So far, I'm using

grep file.zip access.today

which seems fine. How do I then start looking in the gz log files. I didn't get any response when I tried

grep faq.shtml access.20060918.gz

Arthur
09-19-2006, 07:23 AM
How do I then start looking in the gz log files. Use zgrep instead of grep or fgrep.

-Arthur

esllou
09-19-2006, 07:36 AM
ok, thanks for that.

I would like to use the CNC SSH but I'm having problems with it. I'm using FF and have Java installed but I just get a status bar message that de.mud.jta.Applet started and it stays like that and there's a white/green bar on the screen that says Connected/Online but there's no prompt window or anything. It's not hidden either, I'm used to that problem. This time it just doesn't open. Finally, after about a minute, I get a red and white bar saying "not connected/offline" in the middle of the screen.

Arthur
09-19-2006, 08:02 AM
I just tested the SSH applet in your CNC and had no problems logging in. Have you tried restarting your browser, or using a different browser?

As an alternative, you could download PuTTY (www.chiark.greenend.org.uk/~sgtatham/putty/download.html), a free Windows SSH client.

-Arthur

esllou
09-19-2006, 08:12 AM
Yeah, I already had the feeling it was a problem my end. I'll try it with IE (holding my nose, of course :smile: ) and see where that gets us...

esllou
09-19-2006, 08:22 AM
I just had exactly the same thing happen in IE...so then I thought, this is a Java problem.

But I went to http://www.javatester.org/enabled.html and my Java is up to date and working fine.

Here is a screen shot:

http://www.esl-lounge.com/screen.jpg

It is not clickable in FF, but seems to be clickable in IE. Although, when I click it, nothing actually changes. Has anyone else got a similar problem? I've heard that using the default Windows telnet client isn't very secure...Arthur, is that application you suggested any better?

Arthur
09-19-2006, 08:41 AM
I am not sure what would cause that. It should look like this;
http://aota.net/4F/cnc_ssh_1.png

and after you click connect;

http://aota.net/4F/cnc_ssh_2.png (with the login panel partially obscured).

The telnet protocol sends all text, including your username and password, unencrypted across the net. That makes it less secure than the SSH protocol, which encrypts all data send to and from the server.
PuTTY is a very good and free application, it can do both telnet and SSH.

-Arthur

esllou
09-19-2006, 09:24 AM
OK, I have downloaded putty and will use that. If anyone else has had a similar problem to me, I'd appreciate hearing how you resolved it.

Tom E.
09-19-2006, 09:39 AM
At some point in the last few months, the SSH/Telnet Connect button stopped working on the first click in IE6 (after waiting for the button text to appear).

The first time I click it, the button gets the dashed focus rectangle around the text but the login prompt doesn't popup. Everything works fine the second time I click the button.

I assume it started after an automatic update of IE, but I don't use SSH too often so I never looked into it.

-- Tom

Arthur
09-19-2006, 10:03 AM
the SSH/Telnet Connect button stopped working on the first click in IE6 That is a fairly recent "feature" of IE6, you first have to click the applet button once to 'activate the control'.

-Arthur