SSH

I’m logged into my server via SSH and I’m trying to clone my private BitBucket repo into a directory.

When I run the command:

git clone email@hidden:MyAccount/repo.git

I get the following error:

Permission denied (publickey).

Does this have something to do with my server or the BitBucket server? Or a SSH key?

Todd
http://xiiro.com


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I think it’s expecting the server’s public key to be in the Bitbucket server’s .ssh/known_hosts file, or something like that. You have to get them to shake hands once first.

Walter

On Sep 2, 2013, at 8:21 PM, Todd wrote:

I’m logged into my server via SSH and I’m trying to clone my private BitBucket repo into a directory.

When I run the command:

git clone email@hidden:MyAccount/repo.git

I get the following error:

Permission denied (publickey).

Does this have something to do with my server or the BitBucket server? Or a SSH key?

Todd
http://xiiro.com


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

That’s kinda what I thought. When I generate a ssh key then try to copy the output to the pasteboard using pbcopy < ~/.ssh/id_rsa.pub it throws an “unknown command error”. Is there another way to copy the output?

Todd

I think it’s expecting the server’s public key to be in the Bitbucket server’s .ssh/known_hosts file, or something like that. You have to get them to shake hands once first.

Walter

On Sep 2, 2013, at 8:21 PM, Todd wrote:

I’m logged into my server via SSH and I’m trying to clone my private BitBucket repo into a directory.

When I run the command:

git clone email@hidden:MyAccount/repo.git

I get the following error:

Permission denied (publickey).

Does this have something to do with my server or the BitBucket server? Or a SSH key?

Todd
http://xiiro.com


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Where are you trying to paste the result? Does Bitbucket expose a UI for adding new keys like Github does? (I’ve never used Bitbucket at all.)

Walter

On Sep 2, 2013, at 9:16 PM, Todd wrote:

That’s kinda what I thought. When I generate a ssh key then try to copy the output to the pasteboard using pbcopy < ~/.ssh/id_rsa.pub it throws an “unknown command error”. Is there another way to copy the output?

Todd
http://xiiro.com

I think it’s expecting the server’s public key to be in the Bitbucket server’s .ssh/known_hosts file, or something like that. You have to get them to shake hands once first.

Walter

On Sep 2, 2013, at 8:21 PM, Todd wrote:

I’m logged into my server via SSH and I’m trying to clone my private BitBucket repo into a directory.

When I run the command:

git clone email@hidden:MyAccount/repo.git

I get the following error:

Permission denied (publickey).

Does this have something to do with my server or the BitBucket server? Or a SSH key?

Todd
http://xiiro.com


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yes it does. Very similar. The key I paste in BB needs to begin with “ssh-rsa…”. The problem is that after I generate the keys via Terminal they aren’t shown in that format, only when I use the pbcopy command do I get a properly formatted key that I can paste in BB. This is how I was able to copy/paste my local ssh keys into BB.

Todd

Where are you trying to paste the result? Does Bitbucket expose a UI for adding new keys like Github does? (I’ve never used Bitbucket at all.)

Walter

On Sep 2, 2013, at 9:16 PM, Todd wrote:

That’s kinda what I thought. When I generate a ssh key then try to copy the output to the pasteboard using pbcopy < ~/.ssh/id_rsa.pub it throws an “unknown command error”. Is there another way to copy the output?

Todd
http://xiiro.com

I think it’s expecting the server’s public key to be in the Bitbucket server’s .ssh/known_hosts file, or something like that. You have to get them to shake hands once first.

Walter

On Sep 2, 2013, at 8:21 PM, Todd wrote:

I’m logged into my server via SSH and I’m trying to clone my private BitBucket repo into a directory.

When I run the command:

git clone email@hidden:MyAccount/repo.git

I get the following error:

Permission denied (publickey).

Does this have something to do with my server or the BitBucket server? Or a SSH key?

Todd
http://xiiro.com


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ah. I have never had that issue, I just use Transmit to edit the ssh key from the server, copy within there, and paste in the web UI. Oh, and if you are trying to pbcopy from the server, that would have to be a Mac server, since pbcopy only exists on Mac OS X. The command has to exist on the server to use it.

Walter

On Sep 2, 2013, at 9:25 PM, Todd wrote:

Yes it does. Very similar. The key I paste in BB needs to begin with “ssh-rsa…”. The problem is that after I generate the keys via Terminal they aren’t shown in that format, only when I use the pbcopy command do I get a properly formatted key that I can paste in BB. This is how I was able to copy/paste my local ssh keys into BB.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Oh, for $#@& sake. Thanks.

Todd

I just use Transmit to edit the ssh key from the server, copy within there, and paste in the web UI.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Listening to the two of you, this is what I think of -

"I’m thinking, y’know, eight-year-old white girl, middle of the ghetto,

bunch of monsters, this time of night with quantum physics books? She about
to start some shit. Those books are WAY too advanced for her - If you ask
me, I’d say she’s up to something."


Ernie Simpson

On Mon, Sep 2, 2013 at 9:34 PM, Todd email@hidden wrote:

Oh, for $#@& sake. Thanks.

Todd
http://xiiro.com

I just use Transmit to edit the ssh key from the server, copy within
there, and paste in the web UI.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I can’t stop laughing.

Todd

Listening to the two of you, this is what I think of -

"I’m thinking, y’know, eight-year-old white girl, middle of the ghetto,

bunch of monsters, this time of night with quantum physics books? She about
to start some shit. Those books are WAY too advanced for her - If you ask
me, I’d say she’s up to something."


Ernie Simpson

On Mon, Sep 2, 2013 at 9:34 PM, Todd email@hidden wrote:

Oh, for $#@& sake. Thanks.

Todd
http://xiiro.com

I just use Transmit to edit the ssh key from the server, copy within
there, and paste in the web UI.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ditto. Best of the best of the best. Sir!

Walter

On Sep 2, 2013, at 10:04 PM, Todd wrote:

I can’t stop laughing.

Todd
http://xiiro.com

Listening to the two of you, this is what I think of -

"I’m thinking, y’know, eight-year-old white girl, middle of the ghetto,

bunch of monsters, this time of night with quantum physics books? She about
to start some shit. Those books are WAY too advanced for her - If you ask
me, I’d say she’s up to something."


Ernie Simpson

On Mon, Sep 2, 2013 at 9:34 PM, Todd email@hidden wrote:

Oh, for $#@& sake. Thanks.

Todd
http://xiiro.com

I just use Transmit to edit the ssh key from the server, copy within
there, and paste in the web UI.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options