Skip to content

Instantly share code, notes, and snippets.

@ddeveloperr
ddeveloperr / ssh_authentication.txt
Last active February 26, 2024 17:15
Test your ssh terminal connection with github account, (ssh authentication)
1. You mast have a public key from your mashine stored on github as SSH key here:
https://github.com/settings/ssh
How to create ssh key on unix/mac os x:
- Open terminal, go to the root typing: $ cd ~ (recommended)
- Type: ssh-keygen -t rsa -C "your@email.address"
- To secure your ssh key ststem will ask you for passphrase (recommended) but you can skip it also
- That's you have the ssh key
- Check it with: $ ls -al ~/.ssh
@sgreiner
sgreiner / node_debian_init.sh
Last active December 19, 2015 15:19 — forked from peterhost/node_debian_init.sh
Changes in Output and Bugfixes for Debian 7 Wheezy
#!/bin/bash
# ------------------------------------------------------------------------------
# SOME INFOS : fairly standard (debian) init script.
# Note that node doesn't create a PID file (hence --make-pidfile)
# has to be run in the background (hence --background)
# and NOT as root (hence --chuid)
#
# MORE INFOS : INIT SCRIPT http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit
# INIT-INFO RULES http://wiki.debian.org/LSBInitScripts
# INSTALL/REMOVE http://www.debian-administration.org/articles/28