I know the ip address of the pi but I just get connection refused when trying to SSH in. It's definitely on the network as the motion-webserver I have running can see the pi's webcam.Jim JKla wrote: Fire up putty and address the IP address discovered from the router.
Is `ssh-keygen` still running? `ps aux | grep ssh`RobParker wrote:Using the latest Raspbian “wheezy” release, SSH won't start and running the rpi-config script I get:
"Invalid ssh key generation still running. Please wait and try again."
I hit enter and then get:
"There was an error running do_ssh"
I've waited a while and it doesn't seem to help. Any ideas?
There must have been some changes which weren't committed for some reason or FS corruption. The script run at first boot will: 1) generate ssh host keys, 2) enable ssh, 3) delete itself so it won't be run again. It logs all output to /var/log/regen_ssh_keys.log and raspi-config refuses to run its ssh config menu unless that log file contains "finished" (to avoid a race condition where you disable ssh, then the background ssh host key generation finishes and enables it again).RobParker wrote:I'm fairly sure it shutdown fine, it didn't complain about anything.
/var/log/regen_ssh_keys.log is empty
Also if i try and go the the SSH option in raspi-config it still says that it's trying to generate the keys.
rm /var/log/regen_ssh_keys.logRobParker wrote:Is there an easy way to make it think it ran ok so I get the options back for raspi-config?