07-06-2011, 12:50 AM
di bilang bug sih bukan bug ..ini cuma karena belum dibuat saja ssh host rsa ama dsa keyna.. kudu manual..
root@zee-IBTeam:~# /etc/init.d/ssh start
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
root@zee-IBTeam:~# ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
51:fd:cf:a6:fd:e1:8b:97:d1:b7:56:6f:d9:ea:44:f3 root@zee-IBTeam
The key's randomart image is:
+--[ DSA 1024]----+
| .. |
| . . |
| . . |
| . . |
| S oo.|
| . +B|
| .=E|
| .+**|
| o==+|
+-----------------+
root@zee-IBTeam:~# ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
cf:5a:6b:21:73:b3:85:69:19:ec:f7:6a:6c:18:05:fa root@zee-IBTeam
The key's randomart image is:
+--[ RSA 2048]----+
| |
| . |
| o . |
| . o . |
| So * |
| ooE o |
| =+X . |
| o+.+ . |
| ...o.. |
+-----------------+
root@zee-IBTeam:~#
its done.. :pc::pc:
root@zee-IBTeam:~# /etc/init.d/ssh start
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
root@zee-IBTeam:~# ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
51:fd:cf:a6:fd:e1:8b:97:d1:b7:56:6f:d9:ea:44:f3 root@zee-IBTeam
The key's randomart image is:
+--[ DSA 1024]----+
| .. |
| . . |
| . . |
| . . |
| S oo.|
| . +B|
| .=E|
| .+**|
| o==+|
+-----------------+
root@zee-IBTeam:~# ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
cf:5a:6b:21:73:b3:85:69:19:ec:f7:6a:6c:18:05:fa root@zee-IBTeam
The key's randomart image is:
+--[ RSA 2048]----+
| |
| . |
| o . |
| . o . |
| So * |
| ooE o |
| =+X . |
| o+.+ . |
| ...o.. |
+-----------------+
root@zee-IBTeam:~#
its done.. :pc::pc:
FOLLOW @DutaLinux
for more question and sharing about security and Opensource only
for more question and sharing about security and Opensource only