Reset password
Even on a development machine that I use everyday, I may have forgotten the clever password I set up for the user Neo4j, as I have several versions installed on my machine.
The solution is to stop your server, then change the directory to the data/dbms subfolder, and remove the file named auth.
Check for other hosts
To know what hosts are running on your local network, with SSH access enabled, I offer you this little script:
#!/bin/bash
port=22
for ordi in `nmap -sn 192.168.0.1-100 /25 | egrep "scan report" | awk '{print $5}'`
do
echo Found IP $ordi on network.
echo --------------------------------------
done
echo Now trying them for port $port , sorry for the timeout on successful connections
echo
for ordi in `nmap -sn 192.168.0.1-100 /25 | egrep "scan report" | awk '{print $5}'`
do
echo Trying $ordi on port $port
cat < /dev/tcp/$ordi/$port
echo --------------------------------------
done
You may need to adapt this to change the IP range. Unix super users...