Information Technology Reference
In-Depth Information
# Guest OS (Ubuntu 12.04)
# Commands executed by peter user
$ command
the three commands:
$ whoami
$ pwd
$ hostname
should print:
Who am i? peter
Current directory: /home/peter
Hostname:
precise32
Generating keys
This part of the recipe has to be repeated by every member of your organization. Here,
we are faking the work by Peter. Log in to Peter's account with (if you haven't done it
so far, that is):
# Guest OS (Ubuntu 12.04)
# Commands executed by vagrant user
$ sudo su - peter
Generate the RSA key pair for Peter and save them in the .ssh directory:
# Guest OS (Ubuntu 12.04)
# Commands executed by peter user
$ mkdir .ssh
$ chmod 700 .ssh
$ ssh-keygen -t rsa -C peter@example.net -N "" -f .ssh/
id_rsa
Hint Instead of using these three commands:
Search WWH ::




Custom Search