|
AW: lug-bg: Date: Fri, 18 May 2001 14:45:23 +0300
- Subject: AW: lug-bg: Date: Fri, 18 May 2001 14:45:23 +0300
- From: i.kolemanov@xxxxxxxx (ISM Kolemanov, Ivan)
- Date: Fri, 18 May 2001 14:58:49 +0200
> Zdravejte!
>
> Ne moga da startirem sshd, zastoto mi kazva, che niamam file s key.
> kak se generira key-a?
>
>
nqmam vreme sega, no tova e ot openbsd rc file, ste ti svarshi rabota
if [ ! -f /etc/ssh_host_dsa_key ]; then
echo -n "ssh-keygen: generating new DSA host key... "
if /usr/bin/ssh-keygen -q -t dsa -f /etc/ssh_host_dsa_key -N '';
then
if [ ! -f /etc/ssh_host_rsa_key ]; then
echo -n "ssh-keygen: generating new RSA host key... "
if /usr/bin/ssh-keygen -q -t rsa -f /etc/ssh_host_rsa_key -N '';
then
if [ ! -f /etc/ssh_host_key ]; then
echo -n "ssh-keygen: generating new RSA host key... "
if /usr/bin/ssh-keygen -q -t rsa1 -f /etc/ssh_host_key -N ''; then
if [ X"${sshd_flags}" != X"NO" ]; then
/usr/sbin/sshd ${sshd_flags}; echo -n ' sshd'
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|