Dr. Daniel James White PhD
2004-Jun-04 14:09 UTC
fedora core 2 openssh, No credentials cache found
Hi, I cant log into my Fedora core 2 box from another linux machine or an OSX machine It worked the very first time I tried then never since. I have downl?oaded the newest openssh sources, and done ./configure make make install as root but seems to still use the old openssh. I stopped and restarted the sshd any Ideas? cheers Dan I get this message with the -v flag on [daniel:~] dan% ssh -v -X -l dan modeling OpenSSH_3.6.1p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL 0x0090702f debug1: Reading configuration data /etc/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: Connecting to modeling [130.234.102.160] port 22. debug1: Connection established. debug1: identity file /Users/dan/.ssh/identity type -1 debug1: identity file /Users/dan/.ssh/id_rsa type -1 debug1: identity file /Users/dan/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6.1p2 debug1: match: OpenSSH_3.6.1p2 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.6.1p1+CAN-2003-0693 debug1: Miscellaneous failure No credentials cache found debug1: Miscellaneous failure No credentials cache found debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP Connection closed by 130.234.102.160 debug1: Calling cleanup 0x1c440(0x0) [daniel:~] dan% Dr. Daniel James White BSc. (Hons.) PhD Cell Biology Department of biological and environmental science PO Box 35 University of Jyv?skyl? Jyv?skyl? FIN 40014 Finland +358 14 260 4183 (work) +358 468102840 (new mobile) NEW PHONE NUMBER!!! http://www.chalkie.org.uk dan at chalkie.org.uk white at cc.jyu.fi
> but seems to still use the old openssh. > I stopped and restarted the sshdFor Fedora (or any RPM-based distro) it's good practice to use RPM package management. The Fedora RPMs don't locate things like the stock compile does. The RPMs mimic the file locations and behavior of other things in the RedHat world (e.g. /usr/bin instead of /usr/local/bin). If you want the latest OpenSSH use the spec build file in the package. Basically do the following: 1) Put a copy of openssh-3.8.1p1.tar.gz in /usr/src/redhat/SOURCES 2) Put a copy of x11-ssh-askpass-1.2.4.1.tar.gz in /usr/src/redhat/SOURCES 3) Unpack openssh-3.8.1p1.tar.gz in a temporarly location (i.e. /tmp) 4) # cd contrib/redhat 5) Execute the rpmbuild command to build the OpenSSH packages using the information in openssh.spec (i.e. # rpmbuild -ba openssh.spec) 6) RPM will build the OpenSSH install and create the RPMs you need in /usr/src/redhat/RPMS 7) Install these and enjoy Chances are you OpenSSH install is now a mix of the stock Fedora-provided OpenSSH packages and your manual compile. Try this and see if you encounter additional problems. Also, be aware of the functionality change for the X11 cookies if you use X over SSH forwarding. -- Jason McCormick jason at devrandom.org GPG Fingerprint: 66C5 2B15 3E34 2B5E 5321 6147 303A DCE6 0A74 A19C