Scp down my client key from new chef-server


#1

I installed chef-server on my new ubuntu image using apt-get method.
I followed the tutorial very closely:
http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages

At the end it said

your-laptop > mkdir ~/.chef
your-laptop > scp chef-server.example.com:/tmp/my-username.pem
~/.chef/my-username.pem

I can’t access chef-server.192.168.1.22 of course. Am I supposed to? I
don’t have nginx or apache2 serving this I think.

Thanks.


#2

SCP uses SSH so just use your new chef server’s ip in place of chef-server.example.comhttp://chef-server.example.com. You don’t need an http server for this.

On Jul 29, 2012, at 10:59 PM, John Wong <gokoproject@gmail.commailto:gokoproject@gmail.com> wrote:

I installed chef-server on my new ubuntu image using apt-get method.
I followed the tutorial very closely: http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages

At the end it said

your-laptop > mkdir ~/.chef
your-laptop > scp chef-server.example.com:/tmp/my-username.pem ~/.chef/my-username.pem

I can’t access chef-server.192.168.1.22 of course. Am I supposed to? I don’t have nginx or apache2 serving this I think.

Thanks.


#3

Right. But for a second I thought I need to setup a subdomain. If it was
supposed to be just <hostname / ip / domain> then we should write it that
way in the doc, if that’s the real meaning behind it.

John

On Mon, Jul 30, 2012 at 2:00 AM, Daniel Condomitti daniel@condomitti.comwrote:

SCP uses SSH so just use your new chef server’s ip in place of
chef-server.example.com. You don’t need an http server for this.

On Jul 29, 2012, at 10:59 PM, John Wong gokoproject@gmail.com wrote:

I installed chef-server on my new ubuntu image using apt-get method.
I followed the tutorial very closely:
http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages

At the end it said

your-laptop > mkdir ~/.chef
your-laptop > scp chef-server.example.com:/tmp/my-username.pem
~/.chef/my-username.pem

I can’t access chef-server.192.168.1.22 of course. Am I supposed to? I
don’t have nginx or apache2 serving this I think.

Thanks.