Re: telnet to ssh (port 22)



nobody@xxxxxxx (Kevin the Drummer) (06-01-26 20:11:14):

> I'm trying to test a new network configuration, and exposing my ssh
> port to the Internet. I'm having a friend of my test both smtp and
> ssh from his host. He can telnet to my smtp port just fine, but my
> ssh port disconnects on him, like so:
>
> <root@friendshost:/usr/u/friend:1753>$ telnet 123.123.123.12 22
> Trying 123.123.123.12...
> Connected to 123.123.123.12.
> Escape character is '^]'.
> Connection closed by foreign host.
>
> I think this is the right thing for ssh to do when contacted by
> telnet. My ssh doesn't have any knowledge of the other host's keys.
>
> Your thoughts?

SSH is not a Telnet protocol. As such, you will never have success
using Telnet for an SSH service.

Regards.
.



Relevant Pages

  • Re: ssh gives "Permission denied, please try again"
    ... port 22 on your internal machine, so you will need to keep ssh up to ... I configure the router to forward a different external port to 22 on my ... For good measure pick usernames that are none obvious, ... root/password: 163 times ...
    (uk.comp.os.linux)
  • [NEWS] SSH service at Dell DRAC4 Denial of Service (Mocana)
    ... SSH service at Dell DRAC4 Denial of Service ... Dell Remote Access Card 4 allows customers to effectively manage ... After the use of such a port scanner, ...
    (Securiteam)
  • Re: Troublleshoot SSH
    ... > I have the SSHD daemon running, yet I can not telnet in on port 22 ... > using an SSH client. ... In PuTTY specify the host name, then change *Protocol* to SSH rather ...
    (comp.unix.solaris)
  • Re: Nailed Telnet & ssh
    ... I used to think I couldn't do a nailed ssh port also, ... The aix box has nailed telnet ports defined in the inittab ... > standard telnet command *thru* the ssh connection. ...
    (comp.databases.pick)
  • Re: WEIRD: telnet
    ... Telnet can use any ports providing the user redirects. ... ssh ought to be used to replace Telnet whenever possible. ... Telnet uses a protocol that is identical to many other protocols apart ... So if you want to test the SMTP port, or the POP3 port, or any ...
    (freebsd-questions)