Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Neotox on August 19, 2014, 06:51:39 AM



Title: Need Help, how to control bitcoin daemon remotely
Post by: Neotox on August 19, 2014, 06:51:39 AM
Hello
i need help about how do i control my bitcoin client running on a remote server?

what is the easiest way?

like lets suppose i have my bitcoin client running on
server 167.53.82.1:8332
username: user
password: password

how do i control my client to run basic commands like getmininginfo,generate,getnewaddress etc
the easiest way without logging in via ssh

i hope some senior tech staff will help about this and provide a easy solution for this


Title: Re: Need Help, how to control bitcoin daemon remotely
Post by: Justin00 on August 19, 2014, 12:07:10 PM
Have a look on google for RPC.

Basically have the server open an RPC listener in bitcoin.conf..

then have client connect and run commands...

If you search the net uou'll find some sample PHP scripts and other languages to do it via web interface, still using RPC.


Title: Re: Need Help, how to control bitcoin daemon remotely
Post by: Abdussamad on August 19, 2014, 05:49:33 PM
i hope some senior tech staff will help about this and provide a easy solution for this

Bitcoin core is not commercial software and support is provided by the community of users not by hired staff.

With that said use the json rpc interface:

https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list


Title: Re: Need Help, how to control bitcoin daemon remotely
Post by: chrisvl on August 24, 2014, 10:58:20 AM
Check this https://www.engr.colostate.edu/ens/how/connect/serverlogin.html


Title: Re: Need Help, how to control bitcoin daemon remotely
Post by: Dare on August 24, 2014, 06:34:37 PM
Check this https://www.engr.colostate.edu/ens/how/connect/serverlogin.html

That doesn't apply, as the OP wanted a way to control bitcoind without having to use SSH, and the other methods listed in that link are both less applicable and more difficult to work with. The JSON-RPC interface built into bitcoind is designed for automated use by external programs, and as such is the best solution.


Title: Re: Need Help, how to control bitcoin daemon remotely
Post by: MangoJ on August 27, 2014, 09:19:34 PM
What do you intend to do?
Can't you just make your own website server with the bitcoin API?
Or do you need that made for you?


Title: Re: Need Help, how to control bitcoin daemon remotely
Post by: TheFootMan on September 01, 2014, 10:57:15 PM
What do you intend to do?
Can't you just make your own website server with the bitcoin API?
Or do you need that made for you?

Agree with Mango here. When someone posts about help to do something, it's not uncommon they ask how to do something using framework x or method y, and not mentioning exactly what kind of problem they want to solve.

'Controlling bitcoind remotely' is quite a generic term. This could mean to have full control, like being on the local machine, or just access to some commands, although I suspect the former is desired.

So, let's start to break the problem down.

First, what do you want to do? Please be as spesific as possible, and then people with more experince will chime in.

BTW, you're also aware that is' possible to lock down ssh, so that you can only connect from a spesific machine, and it's also possible to log in with authentication keys (http://www.linuxproblem.org/art_9.html), avoiding the elaborate task of typing the password every time.