SSH now works, thanks for all the help.
Lea Stahr
Senior Systems Engineer
Linux and zLinux
Navistar, Inc.
630-753-5445
[EMAIL PROTECTED]
-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Leland Lucius
Sent: Friday, October 31, 2008 9:03 AM
To: [email protected]
Subject: Re: SSH on SuSE 10 SP1 problem
Stahr, Lea wrote:
> brksvl01:/usr/bin # ssh-keygen -t rsa -N " -q -f ssh_host_rsa_key
>
I believe you're using a double quote (") and when it maybe should have
been two singles (''). In any case, you're missing a close quote above.
I haven't read the cookbook, but you really don't need to generate the
keys yourself. All you really need to do is delete all files beginning
with "ssh_host" in /etc/ssh:
rm /etc/ssh/ssh_host*
Then when ssh is started, the keys will get automatically generated.
See /etc/init.d/ssh:
start)
if ! test -f /etc/ssh/ssh_host_key ; then
echo Generating /etc/ssh/ssh_host_key.
ssh-keygen -t rsa1 -b 1024 -f /etc/ssh/ssh_host_key -N ''
fi
if ! test -f /etc/ssh/ssh_host_dsa_key ; then
echo Generating /etc/ssh/ssh_host_dsa_key.
ssh-keygen -t dsa -b 1024 -f /etc/ssh/ssh_host_dsa_key -N
''
fi
if ! test -f /etc/ssh/ssh_host_rsa_key ; then
echo Generating /etc/ssh/ssh_host_rsa_key.
ssh-keygen -t rsa -b 1024 -f /etc/ssh/ssh_host_rsa_key -N
''
fi
Leland
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390