Set up a user with the candidate's last name, and a sha1 password.
ssh root@$server_ip
useradd $last_name
exit
ssh $last_name@$server_ip
Run tmux
, C-b "
to horizontal split windows, C-b %
to vertical split windows, open top20.rb in a nano window, open tmux-cheat-sheet in a nano window
make sure that yajl-ruby is gem install
ed.
apt-get install ruby-dev
gem install bundler
gem install yajl-ruby
ps auxwww | grep $lastname | grep -e "^$lastname" | awk '{print $2}' | xargs kill
userdel $lastname
Send an email at least 1 hour prior to the session.
Hello {{FirstName}},
It would be helpful for our session today if you could read up on the following page: http://www.githubarchive.org/
It would also be helpful if you could set up an ssh terminal session to our pair programming server. Type tmux attach once you're connected.
-{{InterviewerName}}
SSH Instructions By Platform
OS X / Linux: ssh {{lastname}}@{{IP}} password: {{password}}
Windows: The PuTTY utility can be used to create ssh sessions: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Username: {{lastname}} Host: {{IP}} Password: {{password}}