LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-15-2009, 04:25 AM   #1
vivek mishra
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
telnet related problem


telnet 127.0.0.1 22
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
SSH-2.0-OpenSSH_4.1

Protocol mismatch.
Connection closed by foreign host.
.........................................................................\



how we solve this problem.......plz describe in detail.............
.....................................................................


also tell me how we configure these in telnet in detail:-
(a) Use LDAP to access ‘Telnet’ service on a LAN server.
(b) Use /etc/hosts.allow and /etc/hosts.deny to allow & deny access to web service to
two hosts on the LAN.
(c) Use ‘iptables’ or similar utility to block TCP SYN segments from a particular IP
address for port 25 using firewall rules.
(d) Use an IDS tool (e.g. tripwire, snort) to track changes in /var/log/messages after every
5 minutes and to monitor the ICMP requests coming to the host.
 
Old 12-15-2009, 08:37 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You are using the wrong client. Use ssh not telnet. Look at your output, you have OpenSSH on port 22.

Try 'ssh 127.0.0.1' (without the quotes) and see what happens.

Telnet is unsecured, and generally not used on nix systems any more. SSH is the secured version, and is well supported.
 
  


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
iptables related problem Barq Linux - Networking 2 06-21-2009 05:16 AM
CUPS related problem lp449 Linux - Software 1 04-11-2005 08:52 PM
samba related problem-------- pal Linux - Newbie 4 03-13-2005 03:31 AM
Hard to explain: Telnet Related duaux Linux - Software 2 08-15-2004 01:21 AM
QuickQuestion.. Telnet and FTP related Illusion *BSD 1 07-14-2003 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:09 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