Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-10-2003, 09:37 AM   #1
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"

Here is the public key on my Linux box:

ssh-dss AAAAB3NzaC1kc3MAAACBAKkr4ueXZjdlQnxodHG5cV3Nu64zdS3757kafEAKVtaUAREjZn4l
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?

Old 07-08-2006, 01:59 PM   #2
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, 02:06 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,274

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


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 11:45 AM
Linux box with eth0 to cable modem and eth1 to Windows box videojeff Linux - Networking 23 03-03-2005 07:58 PM
Password Message Box when accessing linux box from Window Machine mikeccs Linux - Networking 1 08-04-2004 05:47 AM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 04:49 PM
X applications from SUN box on my Linux workstation adme Linux - Networking 1 04-23-2003 09:14 AM

All times are GMT -5. The time now is 01:40 PM.

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