OpenVZ Forum


Home » International » Russian » new vds with old ip [Generating SSH1 RSA host key failed]
Re: new vds with old ip [Generating SSH1 RSA host key failed] [message #3069 is a reply to message #3067] Wed, 10 May 2006 20:15 Go to previous messageGo to previous message
knutov is currently offline  knutov
Messages: 79
Registered: December 2005
Location: Perm, Russia
Member
Сделал внутри вдс

rm -f /etc/ssh/ssh_host_*
cat << EOF > /etc/rc2.d/S15ssh_gen_host_keys
#!/bin/bash
ssh-keygen -f /etc/ssh/ssh_host_rsa_key -t rsa -N ''
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -t dsa -N ''
rm -f \$0
EOF
chmod a+x /etc/rc2.d/S15ssh_gen_host_keys

service sshd start

Ключи сгенерились и судя по top ssh запущен. Однако по ссх сконнектится не удаётся.
 
Read Message
Read Message
Read Message
Previous Topic: vzquota
Next Topic: Сеть
Goto Forum:
  


Current Time: Fri Nov 08 14:40:15 GMT 2024

Total time taken to generate the page: 0.03480 seconds