Understanding SSH (Sun box to Linux box)
I've got some problems using SSH from my Solaris box (2.7) to talk to my Linux machines (Red Hat 8.0).
On my sun box, I am running: SSH Secure Shell 2.2.0 (non-commercial version) and I cannot just uninstall it and put Open SSH there. On my Linux box, I am running openssh-3.5p1-6 The big issue is how do I my Solaris box to ssh, scp, etc to my Linux without a password? The format of the public keys are different in these versions of SSH, so I always need to add a password to push stuff from the Sun box to the Linux. The commands are generated via "ssh-keygen -t dsa" on both machines. For instance, here is public key on my Sun box (non-commerical): Subject: root Comment: "1024-bit dsa, root@bilbo, Mon Mar 10 2003 15:32:28" AAAAB3NzaC1kc3MAAACBAJ7yQ5z4rh2OpfIIUqOilfilFttoP+SXWBg7iqobFi5OKISUX3 3Y9D3HjQkBaI6ZcycSpC0xQzi5GH9c73ZYKprK+5BvbZUJLBC3/TtHvipPMwRcrrXBBW12 Yiicbd9hbhpJAXv2tFyCzjxeMpC4rGInoCyWSWzhSQNdqrE02mChAAAAFQDTgpGZWOCe40 D+Re+WYLXuGYYtKQAAAIBwPzldDfuw1gpkZ6q9YlHc3eTe0V1FBnKwn6PM292bAnRyMw6R KgSYWceJbI6Mmfzyx2IbZYEKdPL8gVSxXdhh7a4ZcFi7lRiKIbhQnT1hiSpRWi7sSPNz3X e+0ZYO3nKI9EaIpRJcjrEYajmgeS32NMiGULw9bcMYJNgnDflb4wAAAIBVjhAwmeuNA9kb aWMOWLacUXZ7WdrhGxKzxDQpigVpuGCr5/PoQsUORaXF0Rykie5rum5ryMsgqbihxyRuiS O5fQ+IRDkFTu3DizjK/ue2YeV0DnnspEz3C5GgYpwRASpMGhEJptte/O62iHN/L0VretvZ NsRsYJY3yKwHBzSI3g== Here is the public key on my Linux box: ssh-dss AAAAB3NzaC1kc3MAAACBAKkr4ueXZjdlQnxodHG5cV3Nu64zdS3757kafEAKVtaUAREjZn4l HAJaqjZtkRi8fdx1dzX39RoBee1PJGa+5xrmx+hu8wZaZz2UkFW6eIPPeP/pM2IYw8Uhmrm2qL7pPjNM Jm0+nI/XP/k2EyHVarcMLEx38GiruIoS4Pick8fJAAAAFQCb7r4MiTjBXYo+RcXmUdCliyxuEQAAAIEA i5sJVLbsfUubW9j4xAafHq3I8RKLb93ur1GOiMXYhgKhZZK3eEtOCPeP0O3/i3wM8+LULtHnNQ2xmF+G g8154Z/e/13NK60UZ0bp+GLBThPdHkEZTs632+0vVoNYNJ4EU9AchuUrMOyAic7CyX6jlU7ogvbfnfwm G/1N/wJeU58AAACAR5EWvTNMNrSuSCsS4uu6mkJX21DEfippFtopIfgBtPyw3N1DAUGKHW2HAe1geBhD 5YnUD3RMDlNvanDh2hmHYUQlkYDIHL4Zs9LGkfWggg8+mJCCERPCFg6nUqmPg8WFmGEJaVFhV5OSJv2c X/PxuS7vXbKbTibdKb6ciu3hlxE= root@canton My newbie question is, why the heck are the DSA public keys different? And how do I go about making them so that the SSH's understand one another? Thanks! |
So are you just trying to SSH without a password?
If you can figure out how to create an account without a password, then you're set. And what do you mean by "making the ssh's understand each other?" They should just work. Can you SSH from your Linux box to your Sun box? Or vice versa? |
You may be able to use an RSA key as opposed to a DSA key, but I'd suggest trying with the DSA keys you have. In particular OpenSSH might be able to recognize the keys produced by the old SSH. Is there no way at all you can put OpenSSH on the Sun system?
In any case, creating an acount without a password is a bad idea unless you're on a completely trusted network (i.e. physically secure, used only by you, and not connected to the Internet). |
All times are GMT -5. The time now is 10:34 PM. |