Bitcoin Forum
May 02, 2024, 01:22:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 [75] 76 77 78 79 80 81 82 »
1481  Bitcoin / Mining / Re: Putty + Ubuntu +SSH + Public/Private Keys = Not Working (Server refused our key) on: July 24, 2011, 05:34:00 PM
Quote
cyper@Woody:~/.ssh$ ls -l
total 4
-rw-r--r-- 1 root root 209 2011-07-24 15:34 authorized_keys
cyper@Woody:~/.ssh$
1482  Bitcoin / Mining / Re: Putty + Ubuntu +SSH + Public/Private Keys = Not Working (Server refused our key) on: July 24, 2011, 04:46:32 PM


1) No, you dont.
3) I dunno, but a quick google search tells me that the puttygen GUI has a conversion function. also note that you can do this step on your client or host machine, it doesnt matter.
4) You can edit the authorized_keys file with any editor you want, just make sure it has the right permissions



1 - So then the keys will be in different formats? Why would that work?
2 - I've tried that function before when using different tutorial, but it didn't work.
3 - I think I'm doing everything right, but to no avail.
1483  Bitcoin / Mining / Re: Putty + Ubuntu +SSH + Public/Private Keys = Not Working (Server refused our key) on: July 24, 2011, 02:51:16 PM
permissons on the ~/.ssh folder should be 700 and on authorized_keys and known_hosts should be 644
That doesn't help either.

Here is the config file: http://paste.ubuntu.com/651204/

And also in the .ssh config there are only 2 files - authorized_keys and .authorized_keys.swp
1484  Bitcoin / Mining / Re: Putty + Ubuntu +SSH + Public/Private Keys = Not Working (Server refused our key) on: July 24, 2011, 02:23:15 PM
Let me see if I understand correctly - First I create a private key under Windows using Puttygen and after I copy this private key to the Ubuntu machine I use again Puttygen to generate the private and public keys out of the private keys I created earlier with PuttyGen under Windows.

Are you sure that is the way, cause that's how you explained it. The program for generating keys under windows is Puttygen and it can create either a private or public keys or both.

You NEVER move a private key to another machine. You also generate keys only ONCE, and only on CLIENT machine.

1) Create a KEY PAIR using putty on your client machine

2) Copy the PUBLIC KEY to the Ubuntu machine

3) Convert the PUBLIC KEY on the Ubuntu machine into OPENSSL FORMAT

4) Append the OPENSSL PUBLIC KEY to the authorized_keys file in the ~/.ssh/ directory


Step 1) is done on the client machine, step 2) is sorta inbetween and 3) and 4) are done on the host machine.
1 - Do I need to convert the private key (which stays on the Windows machine) to OPENSSH format?
3 - What command do I use on the Ubuntu machine to convert the public key generated by PuttyGen into OpenSSH format?
4 - I can do it with the GUI, right? As shown in the screenshot above. I make sure it's a single line.

Like I said I've tried 2 or 3 different tutorials and I only get Server refused our key.
1485  Bitcoin / Mining / Re: Putty + Ubuntu +SSH + Public/Private Keys = Not Working (Server refused our key) on: July 24, 2011, 02:20:21 PM
CYPER, use this guide: http://www.server-world.info/en/note?os=Ubuntu_11.04&p=ssh&f=2
I've used it to setup everyone of my ubuntu boxes and you don't have to install putty or puttygen on the remote host, takes 10mins tops to get setup.

I did everything exactly by the guide, except that I used VNC and gedit to add the public key to the authorized list = Server refused our key

Here is a shot:



Please not there are no spaces, not even between the FOU and +yy - it's a single line.

I tried removing the last = so there is only one and restarting the SSH server = no effect. So one or two "=" had no effect even after I restarted the server for each case.
1486  Other / CPU/GPU Bitcoin mining hardware / Re: Measured at the wall, what's your Watt/MHps on: July 24, 2011, 02:26:46 AM
I'm using Corsair HX850 + Gigabyte GA-770T-D3L + AMD Athlon II X2 250 + 80GB Sata HDD
1487  Bitcoin / Mining / Re: Putty + Ubuntu +SSH + Public/Private Keys = Not Working (Server refused our key) on: July 24, 2011, 01:52:53 AM
Let me see if I understand correctly - First I create a private key under Windows using Puttygen and after I copy this private key to the Ubuntu machine I use again Puttygen to generate the private and public keys out of the private keys I created earlier with PuttyGen under Windows.

Are you sure that is the way, cause that's how you explained it. The program for generating keys under windows is Puttygen and it can create either a private or public keys or both.
1488  Alternate cryptocurrencies / Altcoin Discussion / Re: Mining Namecoins is now 2x more profitable than Bitcoins on: July 23, 2011, 06:58:27 PM
how do you transfer some namecoins? can't find any info

namecoind help for all the options

namecoind help sendtoaddress
sendtoaddress <namecoinaddress> <amount> [comment] [comment-to]
<amount> is a real and is rounded to the nearest 0.01
1489  Alternate cryptocurrencies / Altcoin Discussion / Re: Mining NMC Solo - Is this to be expected? on: July 23, 2011, 06:47:27 PM
Is it very bad luck to get 1 block in less than 2 hours and then 2 orhpan ones for the next 12 hours? I mean 2 orphan, come on......
1490  Bitcoin / Mining / Re: Putty + Ubuntu +SSH + Public/Private Keys = Not Working (Server refused our key) on: July 23, 2011, 06:45:30 PM
I'm somewhat familiar with Linux so can read and understand commands, but it's something else I can't understand: usually Puttygen can create 2 keys - public and private and the private ends in .ppk

So your tutorial says to copy the private key generated in Windows to the Ubuntu machine and transform it into Ubuntu style key (id_rsa.pub) which is a public key.

I'm well aware that the private key stays with the client (Windows) and the public with the server (Ubuntu), so your tutorial is confusing to me. Also your tutorial says to use the same key to create the public and private keys - are you sure about that?

Have you used that method yourself?

Thank you.
1491  Bitcoin / Mining / Re: Putty + Ubuntu +SSH + Public/Private Keys = Not Working (Server refused our key) on: July 23, 2011, 03:25:32 PM
Connect from my Windows machine to my Ubuntu mining rig. I have no troubles connecting with username and password, but I would like to make it even easier and conect with a public-private keys.

So looking at your link I see it says to install Putty on the Linux machine just so it can convert the Putty generated key to a Linux key. But it doesn't say where to generate puttykey.ppk

Can you elaborate on the tutorial please. I'm unsure of what to do.
1492  Bitcoin / Mining / Putty + Ubuntu +SSH + Public/Private Keys = Not Working (Server refused our key) on: July 23, 2011, 12:56:27 PM
So I've followed numerous tutorials online, but each time I got Server refused our key:

I tried creating the keys with Puttygen and I also tried creating them on the server and converting private through Puttygen, but to no avail.

Anyone managed to connect via SSH with keys? A tutorial that works will be highly appreciated.
1493  Alternate cryptocurrencies / Altcoin Discussion / Re: Mining NMC Solo - Is this to be expected? on: July 23, 2011, 04:40:42 AM
Do you think I should set askrate manually to 10?

Or any other changes for the phoenix parameters?
1494  Alternate cryptocurrencies / Altcoin Discussion / Re: Mining NMC Solo - Is this to be expected? on: July 23, 2011, 04:12:29 AM
I didn't see the error though (with phoenix miner).

What error?
1495  Alternate cryptocurrencies / Altcoin Discussion / Mining NMC Solo - Is this to be expected? on: July 23, 2011, 04:03:03 AM
Quote
[23/07/2011 04:57:43] Server gave new work; passing to WorkQueue
[23/07/2011 04:57:43] Result didn't meet full difficulty, not sending
[23/07/2011 04:57:53] Server gave new work; passing to WorkQueue
[23/07/2011 04:58:02] Server gave new work; passing to WorkQueue
[23/07/2011 04:58:06] Result didn't meet full difficulty, not sending
[23/07/2011 04:58:12] Server gave new work; passing to WorkQueue
[23/07/2011 04:58:19] Result didn't meet full difficulty, not sending
[23/07/2011 04:58:22] Server gave new work; passing to WorkQueue
[23/07/2011 04:58:26] Result didn't meet full difficulty, not sending
[23/07/2011 04:58:32] Server gave new work; passing to WorkQueue
[23/07/2011 04:58:32] New block (WorkQueue)
[23/07/2011 04:58:32] Server gave new work; passing to WorkQueue
[23/07/2011 04:58:41] Server gave new work; passing to WorkQueue
[23/07/2011 04:58:48] Result didn't meet full difficulty, not sending
[23/07/2011 04:58:51] Server gave new work; passing to WorkQueue
[23/07/2011 04:59:01] Server gave new work; passing to WorkQueue
[23/07/2011 04:59:11] Server gave new work; passing to WorkQueue
[23/07/2011 04:59:20] Server gave new work; passing to WorkQueue
[440.06 Mhash/sec] [0 Accepted] [0 Rejected] [RPC]

Am I mining properly?

Will this ([0 Accepted] [0 Rejected]) only increase when I find a block?
Is Result didn't meet full difficulty, not sending to be expected from Solo Mining?

10x
1496  Bitcoin / Mining software (miners) / Re: [Linux] Autominer v0.3.2.1 - GPU Monitor, Downtime Swapper, New Interface on: July 22, 2011, 11:36:14 PM
Yes phoenix is patched. Directly launching it works fine (as in the command you provided).

running ./getrates.sh however, produces the following:

./getrates.sh: ./getRate.py: /usr/bin/python2: bad interpreter: No such file or directory
./getrates.sh: line 42: /1000: syntax error: operand expected (error token is "/1000")


For anyone having this problem just edit getRate.py

change

#!/usr/bin/python2

to

#!/usr/bin/python
1497  Bitcoin / Mining software (miners) / Re: [Linux] Autominer v0.3.2.6 - GPU Monitor, Downtime Swapper, New Interface on: July 22, 2011, 11:25:46 PM
OK for anyone struggling to start the script at reboot this is the best way I've found:

In Gnome  go to System/Preferences/Startup Application or just find Startup Applications and add the script there.

Then when you connect via SSH just type:

screen -r to get the info screen.
1498  Bitcoin / Bitcoin Technical Support / Re: Setting up namecoin on: July 22, 2011, 10:06:26 PM
Do you know what is the latest working version?
1499  Bitcoin / Bitcoin Technical Support / Re: Setting up namecoin on: July 22, 2011, 06:37:55 PM
Just encountered the first of those problems myself. The short answer is: the namecoin code is broken and calls htons on the default port twice, so it ends up listening on and connecting to the wrong port number. The fix is to edit namecoin.cpp, find:
Code:
return fTestNet ? htons(18334) : htons(8334);
and remove both htons so that it instead does
Code:
return fTestNet ? 18334 : 8334;

Not sure about your second bug; I'd already moved to a slightly older changeset (495a5eb42193c262119ad9ef03b45f8e4b973df1) that I suspect doesn't have it.



Is that change fixing the bug of not downloading the blockchain?

And which bug do you mean as second?
1500  Bitcoin / Bitcoin Technical Support / Re: Setting up namecoin on: July 22, 2011, 04:48:37 PM
OK managed to start it and is now mining, but can you tell me if that looks fine -  http://paste.ubuntu.com/650089/

What will change on that screen when I found the hash for a block? Will it change to [1 Accepted] [0 Rejected] [RPC]

And what does [22/07/2011 17:33:42] New block (WorkQueue) mean?

I'm not 100% sure that I'm mining properly.
Pages: « 1 ... 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 [75] 76 77 78 79 80 81 82 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!