How to re-connect to `bitcoind -printtoconsole` after socket timeout?

1

I started bitcoind with the option -printtoconsole to check for errors and my terminal ssh connection was timed out during the night - probably because my computer was in hibernation.

I see that the process is still running under top.

Is there an option to reconnect so that it will print the output to a new ssh connected shell?

Ben

Posted 2019-08-29T05:45:27.043

Reputation: 245

Answers

0

I don't think you can reconnect to it easily, but for next time, you could create a screen session and start bitcoind inside of it. That way you could reconnect to it with screen -r

SylTi

Posted 2019-08-29T05:45:27.043

Reputation: 1