Please could someone help me to undo this command, I tried for enabling ssh on the pi?:
sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server
I read that command on this page.
And even though I can see pi on my router's ip pool, it is not connecting to the internet or the ssh on my windows putty. It's connected to my lan network via ethernet. I've never used or known about ssh, and tried it only after buying the pi. I thought it would help in accessing the pi over wifi, since my wireless mouse+keyboard isn't compatible with the pi. I also bought a wifi adapter but since I've to connect both usb mouse and usb keyboard, there's not extra port to attach it.
EDIT: Pinging to the Raspberry Pi in command prompt displays as follows:
IP Address: Raspberry Pi : 192.168.1.5
IP Address: Win7 (my Laptop): 192.168.1.6
Pinging 192.168.1.5 with 32 bytes of data:
Reply from 192.168.1.6: Destination host unreachable.
Reply from 192.168.1.6: Destination host unreachable.
Reply from 192.168.1.6: Destination host unreachable.
Reply from 192.168.1.6: Destination host unreachable.
Ping statistics for 192.168.1.5:
Packets: Sent = 4, Received = 4, Lost = 0 <0% loss>.
Network Error: Connection Timed Out
... I just pinged the raspberry pi, and have updated my question with the results of the ping..