LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-10-2003, 10:37 AM   #1
oswald21
Member
 
Registered: Mar 2003
Posts: 70

Rep: Reputation: 15
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!
 
Old 07-08-2006, 02:59 PM   #2
timothyb89
Member
 
Registered: Jul 2006
Location: Colorado, USA
Distribution: openSuSE 11.4
Posts: 118

Rep: Reputation: 15
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?
 
Old 07-08-2006, 03:06 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,159

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting Slow Transfer Speed Between Linux Box and Windows Box timswim78 Linux - General 1 10-23-2005 12:45 PM
Linux box with eth0 to cable modem and eth1 to Windows box videojeff Linux - Networking 23 03-03-2005 08:58 PM
Password Message Box when accessing linux box from Window Machine mikeccs Linux - Networking 1 08-04-2004 06:47 AM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 05:49 PM
X applications from SUN box on my Linux workstation adme Linux - Networking 1 04-23-2003 10:14 AM


All times are GMT -5. The time now is 02:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration