Date: Tue, 16 Mar 1999 19:50:01 -0800 (PST) From: Issei Suzuki <issei@jp.freebsd.org> To: freebsd-ports@FreeBSD.org Subject: ports/10600: ssh2 port doesn't symlink /etc/ssh2 which ssh2d needs for ssh1d compatability Message-ID: <199903170350.TAA52049@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/10600; it has been noted by GNATS. From: Issei Suzuki <issei@jp.freebsd.org> To: freebsd-gnats-submit@freebsd.org Cc: ckbisk@FreeBSD.ORG Subject: ports/10600: ssh2 port doesn't symlink /etc/ssh2 which ssh2d needs for ssh1d compatability Date: Wed, 17 Mar 1999 12:47:21 +0900 > The ssh2 port breaks ssh1 compatability because the installed ssh2d > can't find its config file that enables ssh1 compat. ssh2 expects its > config file to be found in /etc/ssh2/. No. Ssh2 in ports-current expects its config file to be found in ${PREFIX}/etc/ssh2. I suppose the problem comes from other reason, maybe he failed to compile sshd2 to support ssh1 client. To compile sshd2 with ssh1 client support, you must install sshd1 before building sshd2. Only when configure script of sshd2 found sshd1, sshd2 will be compiled to support ssh1 client. That's why security/sshd2 port BUILD_DEPNDS on security/ssh port. I compile sshd2 as follows and all things goes OK. # cd /usr/ports/security/ssh2 # make USE_SSH1=YES install (USE_SSH1=YES is default) # /usr/local/etc/rc.d/sshd.sh The log on client side when I connect to sshd2 with ssh1 client: issei@tole% ssh1 -v localhost SSH Version 1.2.26 [i386--freebsd3.1], protocol version 1.5. Standard version. Does not use RSAREF. tole.issei.org: Reading configuration data /home/issei/.ssh/config tole.issei.org: Applying options for * tole.issei.org: Reading configuration data /usr/local/etc/ssh_config tole.issei.org: ssh_connect: getuid 3001 geteuid 0 anon 1 tole.issei.org: Connecting to 127.0.0.1 port 22. tole.issei.org: Connection established. tole.issei.org: Remote protocol version 1.99, remote software version 2.0.12 (non-commercial) tole.issei.org: Waiting for server public key. tole.issei.org: Received server public key (768 bits) and host key (1024 bits). tole.issei.org: Forcing accepting of host key for localhost. tole.issei.org: Host '127.0.0.1' is known and matches the host key. tole.issei.org: Initializing random; seed file /home/issei/.ssh/random_seed tole.issei.org: Encryption type: 3des tole.issei.org: Sent encrypted session key. tole.issei.org: Installing crc compensation attack detector. tole.issei.org: Received encrypted confirmation. tole.issei.org: No agent. tole.issei.org: Trying RSA authentication with key 'issei@issei.org' tole.issei.org: Received RSA challenge from server. Enter passphrase for RSA key 'issei@issei.org': The log on server side when I connect to sshd2 with ssh1 client: root@tole# sshd2 -v debug: Reading private host key from /usr/local/etc/ssh2/hostkey debug: Key comment: 1024-bit dsa hostkey debug: Reading public host key from: /usr/local/etc/ssh2/hostkey.pub debug: Becoming server. debug: Creating listener debug: Listener created sshd2[73907]: Listener created on port 22. sshd2[73907]: Daemon is running. debug: Running event loop sshd2[73907]: connection from "127.0.0.1" debug: Sshd2/sshd2.c:309/new_connection_callback: new_connection_callback debug: ssh_server_wrap: creating transport protocol debug: ssh_server_wrap: creating userauth protocol debug: new_connection_callback returning debug: Ssh2Transport/trcommon.c:592/ssh_tr_input_version: Remote version: SSH-1.5-1.2.26 debug: Remote version: SSH-1.5-1.2.26 debug: Executing /usr/local/sbin/sshd1 for ssh1 compatibility. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903170350.TAA52049>