christianmlong + config + ssh   4

How to use Augeas to add DenyUsers line to sshd_config - Ask Puppet: Puppet DevOps Q&A Community
However I'd strongly recommend you just use the augeasproviders module as it handles this and a number of edge cases that this snippet won't.

sshd_config { "DenyUsers":
ensure => present,
value => ["jerk@example.com"],
}
puppet  augeas  augeasproviders  ssh  config  configuration  multi  line  ssh_config 
january 2017 by christianmlong
github deploy keys: how Do I authorize more than one repository for a single machine - Stack Overflow
The simplest solution I found was outlined here.

1) Enter this command(You'll do this for however many keys you need):

ssh-keygen -t rsa -C "your_email@example.com"

2) When prompted with the the statement below type in a unique name(i.e.,foo1_rsa).The file will be created in your current directory and you may need to move it to .ssh if you want to be tidy:

Enter file in which to save the key (/Users/you/.ssh/id_rsa): [Press enter]

3) Update your SSH config file:

vi ~/.ssh/config

Which may be empty:

Host cheech github.com
Hostname github.com
IdentityFile ~/.ssh/foo1_rsa

Host chong github.com
Hostname github.com
IdentityFile ~/.ssh/foo2_rsa
ssh  git  deploy  key  multiple  config 
october 2015 by christianmlong
Using Multiple Github Deploy Keys for a Single User on a Single Linux Server | Snipe.Net
Fortunately, the workaround here is very simple, using named SSH keys and an SSH config file.
ssh  git  deploy  key  multiple  config 
october 2015 by christianmlong
PuTTY configuration - Arabesque
putty-256color
apt-get install ncurses-term
PuTTY  config  xterm  terminal  ssh 
july 2014 by christianmlong

Copy this bookmark:



description:


tags: