Author

Topic: bitcoin-qt over ssh (Read 2904 times)

full member
Activity: 176
Merit: 100
June 29, 2013, 06:50:37 PM
#14
port 8332 is the rpc port on the remote bitcoind you want to connect to through the tunnel.

member
Activity: 84
Merit: 10
June 29, 2013, 02:09:17 PM
#13

"ssh -NL localhost:6666:your.machine.with.bitcoind.you.want.to.talk.to:8332 [email protected]"

and then run "bitcoin-qt -rpcport=6666 -rpcuser=whatever.on.your.machine.with.bitcoind.you.want.to.talk.to -rpcpassword=xxx.on.your.machine.with.bitcoind.you.want.to.talk.to"

Again, I haven't tried this (with bitcoin-qt). I have tunnelled with ssh.


That didn't work for me Sad Am I just being thick? I can't see where the port 8332 fits in the chain...
member
Activity: 84
Merit: 10
June 29, 2013, 01:46:56 PM
#12
Again, I haven't tried this (with bitcoin-qt). I have tunnelled with ssh.

How? Like you show above? That's tunneling, isn't it?
newbie
Activity: 40
Merit: 0
June 28, 2013, 04:42:26 AM
#11

bitcoind. Look at e. g. -rpcconnect=. (I haven't actually tried this.)


Ok, if it's possible good to know. However having bitcoin-qt or any other software with a GUI doing the same would be useful. 

Just use the tools that are there. Tunnel with ssh if you really need this. Something like

"ssh -NL localhost:6666:your.machine.with.bitcoind.you.want.to.talk.to:8332 [email protected]"

and then run "bitcoin-qt -rpcport=6666 -rpcuser=whatever.on.your.machine.with.bitcoind.you.want.to.talk.to -rpcpassword=xxx.on.your.machine.with.bitcoind.you.want.to.talk.to"

Again, I haven't tried this (with bitcoin-qt). I have tunnelled with ssh.
legendary
Activity: 1512
Merit: 1012
Still wild and free
June 27, 2013, 08:47:15 AM
#10
I am trying to run bitcoin-qt from my from ubuntu server onto my windows 7 machine. How do you do that?
You can't use bitcoin-qt as a RPC client.

Sorry to hijack the topic, grue, are you aware then of a bitcoin RPC client that could connect to a bitcoind running on a distant machine? It seems it exists for android, what about windows and linux?

bitcoind. Look at e. g. -rpcconnect=. (I haven't actually tried this.)


Ok, if it's possible good to know. However having bitcoin-qt or any other software with a GUI doing the same would be useful. 
newbie
Activity: 40
Merit: 0
June 27, 2013, 08:44:05 AM
#9
I am trying to run bitcoin-qt from my from ubuntu server onto my windows 7 machine. How do you do that?
You can't use bitcoin-qt as a RPC client.

Sorry to hijack the topic, grue, are you aware then of a bitcoin RPC client that could connect to a bitcoind running on a distant machine? It seems it exists for android, what about windows and linux?

bitcoind. Look at e. g. -rpcconnect=. (I haven't actually tried this.)

legendary
Activity: 1512
Merit: 1012
Still wild and free
June 27, 2013, 03:59:07 AM
#8
I am trying to run bitcoin-qt from my from ubuntu server onto my windows 7 machine. How do you do that?
You can't use bitcoin-qt as a RPC client.

Sorry to hijack the topic, grue, are you aware then of a bitcoin RPC client that could connect to a bitcoind running on a distant machine? It seems it exists for android, what about windows and linux?
legendary
Activity: 1135
Merit: 1166
June 26, 2013, 02:25:56 AM
#7
I have cygwin, and have started the X server. But when I run ssh -X user@ubuntu machine, bitcoin-qt says it cannot connect to my X server.


Unless you have an X server running i WINDOWS, it doesn't matter how much forwarding you have.


I missed that cygwin has an X server. Sorry. I haven't looked at cygwin in a long time and at that time I
didn't see any X server.


I've also tried with Xming.

Perhaps I'm not setting DISPLAY properly before running bitcoin-qt? I've tried a number of things and I'm not certain which it should be....

I think ssh -X sets the DISPLAY at the host for you.  When I last used cygwin (in 2007 I think) it worked like a charm to do X forwarding.

Note however that in any case you should be able to use the command-line bitcoind RPC calls.  I do this from time to time (although GNU/Linux to GNU/Linux) and it works without any problems or caring about X.
member
Activity: 84
Merit: 10
June 25, 2013, 11:01:17 AM
#6
I have cygwin, and have started the X server. But when I run ssh -X user@ubuntu machine, bitcoin-qt says it cannot connect to my X server.


Unless you have an X server running i WINDOWS, it doesn't matter how much forwarding you have.


I missed that cygwin has an X server. Sorry. I haven't looked at cygwin in a long time and at that time I
didn't see any X server.


I've also tried with Xming.

Perhaps I'm not setting DISPLAY properly before running bitcoin-qt? I've tried a number of things and I'm not certain which it should be....
newbie
Activity: 40
Merit: 0
June 25, 2013, 10:41:11 AM
#5
I have cygwin, and have started the X server. But when I run ssh -X user@ubuntu machine, bitcoin-qt says it cannot connect to my X server.


Unless you have an X server running i WINDOWS, it doesn't matter how much forwarding you have.


I missed that cygwin has an X server. Sorry. I haven't looked at cygwin in a long time and at that time I
didn't see any X server.
newbie
Activity: 40
Merit: 0
June 25, 2013, 10:38:37 AM
#4
I am trying to run bitcoin-qt from my from ubuntu server onto my windows 7 machine. How do you do that?

I have cygwin, and have started the X server. But when I run ssh -X user@ubuntu machine, bitcoin-qt says it cannot connect to my X server.

I also have putty, with X11 forwarding enabled. That doesn't work either (same error).

Any help greatly appreciated.....

Unless you have an X server running i WINDOWS, it doesn't matter how much forwarding you have.
member
Activity: 84
Merit: 10
June 25, 2013, 10:37:31 AM
#3
I am trying to run bitcoin-qt from my from ubuntu server onto my windows 7 machine. How do you do that?
You can't use bitcoin-qt as a RPC client.

Oh. so the only way to run it is by being sat on the local machine?
legendary
Activity: 2058
Merit: 1431
June 25, 2013, 10:06:47 AM
#2
I am trying to run bitcoin-qt from my from ubuntu server onto my windows 7 machine. How do you do that?
You can't use bitcoin-qt as a RPC client.
member
Activity: 84
Merit: 10
June 25, 2013, 09:31:19 AM
#1
I am trying to run bitcoin-qt from my from ubuntu server onto my windows 7 machine. How do you do that?

I have cygwin, and have started the X server. But when I run ssh -X user@ubuntu machine, bitcoin-qt says it cannot connect to my X server.

I also have putty, with X11 forwarding enabled. That doesn't work either (same error).

Any help greatly appreciated.....
Jump to: