# Secure connection to a remote Bitcoin Core instance

**URL:** <https://forums.counterparty.io/t/secure-connection-to-a-remote-bitcoin-core-instance/1661>\
**Category:** Server\
**Created:** [November 21, 2015, 12:17pm UTC](https://forums.counterparty.io/t/secure-connection-to-a-remote-bitcoin-core-instance/1661 "2015-11-21T12:17:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [November 21, 2015, 12:17pm UTC](https://forums.counterparty.io/t/secure-connection-to-a-remote-bitcoin-core-instance/1661/1 "2015-11-21T12:17:24Z")

</div>

There was a question about encrypting RPC connections between Counterparty Server and Bitcoin Core.  
This could be useful in case several people wanted to share a cloud-hosted instance of Bitcoin Core with addrindex patch.

autossh may be a good approach for that. Each user could have a different user account on the target machine while Bitcoin Core addrindex would run under a separate account.  
[http://www.ubuntugeek.com/automatically-restart-ssh-sessions-and-tunnels-using-autossh.html](http://www.ubuntugeek.com/automatically-restart-ssh-sessions-and-tunnels-using-autossh.html)
