LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-21-2003, 10:01 AM   #1
Pyroknight
Member
 
Registered: Feb 2003
Posts: 31

Rep: Reputation: 15
ssh


Okay I've looked all around the net trying to find someone who has the same problem as me, and I have had no luck. This might be the case because I'm doing something wrong. I'm running a ssh2 server on my redhad box. so far the only luck I have had is when using the command "ssh localhost". that works just dandy. My problem occurs when I try to use telnet instead. I put in "telnet localhost 22" and my output is
"Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-1.99-OpenSSH_3.4p1"

then, as soon as I push enter i get
"Protocol mismatch.
Connection closed by foreign host."

and I'm back to the prompt.
It seemed like it is half- way work there.... or not? Does this mean that I can't use telnet on a ssh sever? Also, if telnet is supposed to work on a ssh server would it still have all the security or would it be sending out unecrypted text just as it would from a telnet client to a telnet server?

Eventually when I get this all up and running, I hope to be able to remotely access my puter from elsewhere.

I'm sorry if this has been discussed before. If it has I couldn't find it. Please let me know if you need any additional information. Thanks in advance.
 
Old 02-21-2003, 10:14 AM   #2
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
you can't use telnet and ssh together. pretty much all telnet does is open a socket connection to a host machine:port. your problem is that ssh is a specific protocol, and the telnet client doesn't know how to provide that.

you need to connect to your ssh daemon using an ssh client (ssh, slogin). telnet will simply not work (thank god). :-)
 
Old 02-21-2003, 10:31 AM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
If you are trying to access your Linux box via SSH from a windows machine try putty.
 
Old 02-21-2003, 10:49 AM   #4
Pyroknight
Member
 
Registered: Feb 2003
Posts: 31

Original Poster
Rep: Reputation: 15
thank you synkrm. I have a follow up.... I found this site that offers a ssh client written entirely in java.... I have my java up and running fine in mozilla. I can't seem to get it to connect to my server... I type in my local loopback , local loopback ip, and ip addresses and try it with diff ports.... can't seem to get it to work. Maybe this was designed for ssh1 instead of 2? If anyone can get this thing running could you give me some pointers? BTW, I'm really new to all the kind of stuff, so thanks for your patience
 
Old 02-21-2003, 10:51 AM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Where can I find this java SSH client so I can take a look at it?
 
Old 02-21-2003, 11:40 AM   #6
Pyroknight
Member
 
Registered: Feb 2003
Posts: 31

Original Poster
Rep: Reputation: 15
sorry bout that, I had the address copied but forgot to paste it. http://www.cgl.ucsf.edu/home/tef/ssh/
 
Old 02-21-2003, 02:31 PM   #7
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
i've never used that client. though i don't really think i'd want to. putty works just fine for me. it's quick to download from my http server if i ever need an ssh client, no need to install it, and it has every feature i need.

so i'd go that route first before trying anything exceedingly complex.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 09:25 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
I turned off SSH, but I cant get it back! How do you start SSH on boot? nmoog Slackware 2 02-08-2004 05:18 PM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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