Red Hat 7.3 Unknown Server [9]

Red Hat 7.3 Unknown Server

Tuesday, December 2, 2003 1:07 AM - Luca Mondella

I'm using open-ssh supplied in the Linux CDs, ssh and sshd work on Linux machine (I'm able to remote login), I'm not able to connect with Xmanager. My OS is W2k, Service pack 5.
Remote Host: my IP server
SSH server: Unknown server
Username: root
Command: /usr/X11R6/bin/xterm -ls -display $DISPLAY

Firewall on both linux and windows machines are off.
Thank you a lot


Re: Red Hat 7.3 Unknown Server

Tuesday, December 2, 2003 3:47 PM - Support

The information you posted is not enough to solve your problem. Could you let us know any error messages or a screenshot of your problem?

----
Technical Support


Re: Re: Red Hat 7.3 Unknown Server

Tuesday, December 2, 2003 8:46 PM - Luca Mondella

simply: doesn't work. Connecting to another machine in the same network, xmanager works. I have installed both of then with the same redhat 7.3 disk. One of them works, one no.

Attachment Xssh.zip (89.2 KB)  


Re: Re: Re: Red Hat 7.3 Unknown Server

Saturday, December 6, 2003 2:00 AM - luca

this is a redhat7.3 working
Xshell 1.0 (Build 1460 - Nov 3 2003)
Copyright (c) 2003 NetSarang Computer, Inc. All rights reserved.
Connecting to host xxx.xxx.xxx.xxx:22...
Connected.

[17:42:20] Version exchange initiated...
[17:42:20] server: SSH-1.99-OpenSSH_3.1p1
[17:42:20] client: SSH-2.0-libssh_1.2
[17:42:20] SSH2 is selected.
[17:42:20] Algorithm negotiation initiated...
[17:42:20] key exchange: diffie-hellman-group1-sha1
[17:42:20] host key: ssh-dss
[17:42:20] outgoing encryption: aes128-cbc
[17:42:20] incoming encryption: aes128-cbc
[17:42:20] outgoing mac: hmac-sha1
[17:42:20] incoming mac: hmac-sha1
[17:42:20] outgoing compression: none
[17:42:20] incoming compression: none
[17:42:20] Host authentication initiated...
[17:42:20] Hostkey fingerprint:
[17:42:20] ssh-dsa
[17:42:22] Accepted. Verifying host key...
[17:42:22] Verified.
[17:42:22] User authentication initiated...
[17:42:25] Sent user name 'root'.
[17:42:28] Sent password.
[17:42:28] Access granted.

this is the other redhat 7.3 not working:

with telnet:22

Xshell 1.0 (Build 1460 - Nov 3 2003)
Copyright (c) 2003 NetSarang Computer, Inc. All rights reserved.
Connecting to host xxx.xxx.xxx.xxx:22...
Connected.

SSH-1.99-OpenSSH_3.1p1

and with ssh
Xshell 1.0 (Build 1460 - Nov 3 2003)
Copyright (c) 2003 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
Xshell>
Connecting to host xxx.xxx.xxx.xxx:22...
Connected.


the main difference between the computer is the network adapter (3c2000.o for the not working pc, 8139too.o for the working pc) and the window manager (the working pc is using gnome, the not working pc is using kde)

the ssh connection under linux between the computers is working...

what should I do to use Xstart? how I have to configure my linux machine?
(I've only to use x11 Forwarding in the sshd_config or there are other things to do?)

I tried also shutting down firewall using service iptables stop and service ipchains stop.

thanks a lot, and excuse me.

Next week I'll try reinstalling linux. If you know, are there some package that I must install (open-ssh, but there are others????)






Re: Re: Re: Re: Red Hat 7.3 Unknown Server

Saturday, December 6, 2003 2:41 AM - Support

In the previous reply, you uploaded ssh_config, not sshd_config. Please confirm that you have configured the sshd_config file correctly. Also, upload it for further support.

----
Technical Support


Red Hat 7.3 Unknown Server

Tuesday, December 9, 2003 7:53 PM - luca

excuse me:
[root@localhost ssh]# more sshd_config
# $OpenBSD: sshd_config,v 1.48 2002/02/19 02:50:59 deraadt Exp $

# This is the sshd server system-wide configuration file. See sshd(8)
# for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.

#Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 3600
#ServerKeyBits 768

# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
SyslogFacility AUTHPRIV
#LogLevel INFO

# Authentication:

#LoginGraceTime 600
#PermitRootLogin yes
#StrictModes yes

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

# rhosts authentication should not be used
#RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

# Kerberos options
# KerberosAuthentication automatically enabled if keyfile exists
#KerberosAuthentication yes
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

# AFSTokenPassing automatically enabled if k_hasafs() is true
#AFSTokenPassing yes

# Kerberos TGT Passing only works with the AFS kaserver
#KerberosTgtPassing no

# Set this to 'yes' to enable PAM keyboard-interactive authentication
# Warning: enabling this may bypass the setting of 'PasswordAuthentication'
#PAMAuthenticationViaKbdInt yes

#X11Forwarding no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no

#MaxStartups 10
# no default banner path
#Banner /some/path
#VerifyReverseMapping no

# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server

thanks a lot


Re: Red Hat 7.3 Unknown Server

Saturday, December 13, 2003 1:35 AM - Support

We cannot find any problem in sshd_config. There seems following reasons for the problem:

- The network interface of Windows machine doesn't work well with the one of Linux.
- There is some problem in the ssh server.
- The TCP kernel of Linux has some problems.

So, you can try to update the network driver of Windows machine or install the ssh server again. Unfortunately we don't have a better solution to the problem.

----
Technical Support


Previous views: 234