Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Hackers mu community_meetup_2

105 views

Published on

Part 2 of github and Part I of SSH.

Published in: Technology
  • Be the first to comment

Hackers mu community_meetup_2

  1. 1. Github (Part 2) Workflow (By logan from hackers.mu) Facebook group: hackers.mu community Twitter: @hackersdotmu
  2. 2. ● Git workflow
  3. 3. First step ● Setup username & email ● Set up SSH keys or password for authentication ● Set location (important) ● Bio ● Link to your blog
  4. 4. Git add ● Git add will versionize an unversion file ● Git add -a will add all of those files ●
  5. 5. Set editor ● Export GIT_EDITOR=<path to your editor> ● Git commit -m ● Are you done yet ?
  6. 6. Git push ● Yeah ! Refresh your browser !
  7. 7. SSH ● Ages ago, we had telnet ● Designed to do secure remote management ● However, it has moved way beyond its initial goal ● OpenBSD develops OpenSSH (OpenBSD Foundation) ● On ubuntu/debian, apt-get install openssh-server.
  8. 8. Basic usage ● Ssh <username>@<remote machine> ● Once you login, you can type any commands. ● Want GUI ? ● Ssh -Y <username>@<remote machine> ● Do it now: ssh -Y and run glxgears or chrome/firefox
  9. 9. Now for the fun part ● SSH -D <local_port> <username>@<remote machine> ● Tunneling allows you to work around some network limitations ● Wait, but Uni blocks port 22. Sure, you can set listenPort to 25 or 80 on your small VPS :)

×