• Support
  • Articles
  • Resources
  • Products

SSH error message

Moderator: boris

7 postsPage 1 of 1

ringwyrm
Newbie

Posts:
14
Joined: Thu Jan 13, 2005 10:48 am
by ringwyrm » Sat Jan 29, 2005 8:58 am
Sometimes when connecting to an SSH host, I get the following error message from Teraterm:

##########
Unexpected SSH2 message(1) on current stage(6)

Server disconnected with message 'Received data for nonexistent channel0.'.
###########

What could this mean?

 

Yutaka Hirata
TeraTerm Developer

Posts:
609
Joined: Wed Jan 12, 2005 2:35 pm
by Yutaka Hirata » Sat Jan 29, 2005 4:28 pm
Hello,

It means that SSH client received disconnect message from SSH server.
Your network connection is disconnected by server.
Best regards, Yutaka Hirata
(yutakakn at gmail.com)
http://hp.vector.co.jp/authors/VA013320/

 

ringwyrm
Newbie

Posts:
14
Joined: Thu Jan 13, 2005 10:48 am
by ringwyrm » Sun Jan 30, 2005 1:32 am
Yutaka:

I understand.

However, I get this message sometimes when I try to connect to a host. I will not be able to connect to that host again until I close out TeraTerm and reload it, then everything is OK. This makes me think something is wrong with TeraTerm.

ringwyrm

 

Yutaka Hirata
TeraTerm Developer

Posts:
609
Joined: Wed Jan 12, 2005 2:35 pm
by Yutaka Hirata » Sun Jan 30, 2005 5:29 am
Hello,

Ummmm....
Could you tell me your UNIX server name, version and OpenSSH version?
And do you use SSH protocol version 2, don't you?
Best regards, Yutaka Hirata
(yutakakn at gmail.com)
http://hp.vector.co.jp/authors/VA013320/

 

Yutaka Hirata
TeraTerm Developer

Posts:
609
Joined: Wed Jan 12, 2005 2:35 pm
by Yutaka Hirata » Sun Jan 30, 2005 2:31 pm
Hello,

I investigate OpenSSH 3.9 code. I found the code of showing the error message. See channel_input_data() at channels.c
Why is 'c' variable NULL?

/* Get the channel number and verify it. */
id = packet_get_int();
c = channel_lookup(id);
if (c == NULL)
packet_disconnect("Received data for nonexistent channel %d.", id);
Best regards, Yutaka Hirata
(yutakakn at gmail.com)
http://hp.vector.co.jp/authors/VA013320/

 

Guest
by Guest » Mon Jan 31, 2005 4:05 am
Yutaka:

I do not know why 'c' variable is null.

Also, I do not know which verison of OpenSSH we are running. The manual pages are not installed on the server. We are running SunOS v5.8.

 

ringwyrm
Newbie

Posts:
14
Joined: Thu Jan 13, 2005 10:48 am
by ringwyrm » Mon Feb 07, 2005 8:35 am
Yutaka:

I have developed a work around for the time being.

I wrote a macro that will open a new TT window when I try to connect to any host. When I do this, the error never happens.

The error only occurs when I have already connected to another host and I try to connect with SSH to a different host in the same window...
Display posts from previous:
Sort by:

7 postsPage 1 of 1

Users browsing this forum: No registered users
cron