ssh installation won't continue


 
Thread Tools Search this Thread
Operating Systems Solaris ssh installation won't continue
# 1  
Old 07-03-2008
ssh installation won't continue

Hi All,

I was following an instructions in the Installing OpenSSH Packages - SPARC and Intel/Solaris 8 regarding ssh installation on Solaris 8.

When I got on "Step Five: Installing ssh and sshd" and run the following:

# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
PRNG is not seeded
#

What did I do wrong? Please help.

Thanks in advance.
# 2  
Old 07-03-2008
There was a faq on how to fix that, I did that by patching it with [112438 (Sparc) or 112439 (x86)]

but I got this on the next steps:

# /etc/rc2.d/S98sshd start
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/usr/local/etc/ssh_host_key' are too open
It is recommended that your private key files are NOT accessibl
This private key will be ignored.
bad permissions: ignore key: /usr/local/etc/ssh_host_key
Could not load host key: /usr/local/etc/ssh_host_key
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/usr/local/etc/ssh_host_rsa_key' are too
It is recommended that your private key files are NOT accessibl
This private key will be ignored.
bad permissions: ignore key: /usr/local/etc/ssh_host_rsa_key
Could not load host key: /usr/local/etc/ssh_host_rsa_key
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/usr/local/etc/ssh_host_dsa_key' are too
It is recommended that your private key files are NOT accessibl
This private key will be ignored.
bad permissions: ignore key: /usr/local/etc/ssh_host_dsa_key
Could not load host key: /usr/local/etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
#

So I change the permission to 0600 to the three files above. Then wala...

Thanks!

Last edited by itik; 07-03-2008 at 12:44 AM..
# 3  
Old 07-05-2008
You would not had gone thru the hassle if you've just used " ssh-keygen -t rsa " Smiliealone, I guess.. I remember myself creating the keys in that manner. Anyway good finding dudemSmilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash script won't run because hardware won't produce display

Can anyone offer any advice on how to modify the script below to work on a new system we have, that has no graphics capability? We admin the system through a serial RAS device. I've tried running the below script through the RAS and through an ssh -X session. It failed with something like "GTK... (3 Replies)
Discussion started by: yelirt5
3 Replies

2. Red Hat

Vulnerability with ssh in OpenSSH in an RHEL installation

There was a security analysis run on one server which has RHEL 5.8 installed and it is showing security vulnerabilities with respect to ssh in OpenSSH with reference no CVE-2007-4752. The vulnerability solution in the security report is showing solution as below: 1) Download and apply the... (3 Replies)
Discussion started by: RHCE
3 Replies

3. Shell Programming and Scripting

If else continue to check value until it it is right

i have script which get Input via READ value and compare it from file. when found do some stuff...if not found again ask for Input until you dont enter Right value. #!/bin/ksh echo "SID must be in oratab file" echo "Enter ORACLE_SID of Database:\c " read ORACLE_SID x=`cat /etc/oratab|... (3 Replies)
Discussion started by: tapia
3 Replies

4. AIX

SSH Installation

Hi, One of our six servers is incapable of SSH. I get the error below while running SSH: # ssh exec(): 0509-036 Cannot load program ssh because of the following errors: 0509-150 Dependent module libz.a(libz.so.1) could not be loaded. 0509-022 Cannot load module... (4 Replies)
Discussion started by: guzzelle
4 Replies

5. AIX

SSH error on AIx after installation

Hello, I am having a new type of error after installation of ssh... I cannot run ssh # oslevel -r 5200-04 #lslpp -l | grep ssh openssh.base.client 3.8.0.5300 COMMITTED Open Secure Shell Commands openssh.base.server 3.8.0.5300 COMMITTED Open Secure Shell Server ... (2 Replies)
Discussion started by: filosophizer
2 Replies

6. AIX

Ssh installation error "RSA key generation failed"

While trying to upgrade ssh from v4.7 to v5.0 on AIX 5.3 TL9, I end up with the following error. Has anyone come across this? Note: openssl has been upgraded to 0.9.8.840 before this upgrade Bala (0 Replies)
Discussion started by: balaji_prk
0 Replies

7. AIX

AIX 5.3 SSH installation problem

Cant install ssh on AIX 5.3 is there any easy way to solve the problem?? (2 Replies)
Discussion started by: wwwzviadi
2 Replies

8. Linux

SSH Tectia installation Problem

Hi... I am trying to install SSH Tectia on Linux,post installation when i try to login i am getting the error ''Linux box is going out of network...please advise (1 Reply)
Discussion started by: Pavan Pusuluri
1 Replies

9. AIX

won't mount /usr...won't boot fully

Hello: NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 Replies

10. Shell Programming and Scripting

continue example

The following code for search a pattern in file name (or entire file name) and look at its size, code is derived from an ebook about scripting. It is working in HP Unix but I am unable to run in Linux (Ubuntu) Please advise me what is wrong for Linux? And besides , how can I get rid of errors in... (7 Replies)
Discussion started by: xramm
7 Replies
Login or Register to Ask a Question