Displaying 20 results from an estimated 800 matches similar to: "sshkey"
2012 Jul 11
3
where is ssh_known_hosts file generated by sshkey ?
Hi ,
I was testing puppet exported resources as in
http://docs.puppetlabs.com/guides/exported_resources.html and I had this
test class (code is from another post).
class ssh_known_hosts{
case $sshrsakey {
'''': { alert("No sshrsakey found for $fqdn") }
default: {
@@sshkey { $fqdn:
2007 Aug 08
6
Exporting collections/sshkeys
Hullo,
I am attempting to use collections in order to distribute ssh keys
across (soon) many hosts but I am hitting some trouble (the recipe I am
using is at the end of this email). Namely it looks like sshkeys
resources are not marked as exported in the sqlite db. I.e. if I do:
sqlite3 clientconfigs.sqlite3
SQLite version 3.3.5
Enter ".help" for instructions
sqlite> select *
2012 Aug 09
4
Error 400 on Server: Another local or imported resource exists with the type and title Sshkey
I am attempting to remove an old ssh host key from
/etc/ssh/ssh_known_hosts. In my manifest, I have the following:
# add keys
@@sshkey { $hostname:
ensure => present,
type => "rsa",
key => $sshrsakey,
}
# remove key
@@sshkey { "foohost":
ensure => absent,
type => "rsa",
}
Sshkey <<| |>>
But I get this error on
2010 Jun 06
19
Collecting _all_ ssh keys
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello,
I read and find a way (well, there seems to be several equal
implementations) to collect the ssh keys of machines. However they all
give only the choice to choose between the key formats.
But is there a way to collect both keys of a machine, the rsa _and_ the
dss key (and maybe the rsa1 too)? I didn''t find a way to solve this as
2010 Nov 15
2
bug with using exported resources?
Hello...
Is this a bug or by design?
I''m using exported resources to generate /etc/ssh/ssh_known_hosts. I
changed the example from the docs to this:
@@sshkey {
"$fqdn,$hostname,$ipaddress": type => rsa,
key => $sshrsakey,
}
so that I would get one line per host in the ssh_know_hosts file. What
happened was that on each run several (all?)
2009 Dec 09
3
facter 1.5.7 all lsb* items missing
I have 2 RHEL 5.4 systems where all facter lsb* items are missing. Any
ideas?
Sanitized facter output:
architecture => i386
domain => missyou.edu
facterversion => 1.5.7
fqdn => broken.missyou.edu
hardwareisa => i686
hardwaremodel => i686
hostname => broken
id => root
interfaces => eth0,sit0
ipaddress => 1.2.1.5
ipaddress_eth0 => 1.2.1.5
is_virtual => true
2013 Aug 13
2
Collector not realizing own exported resources when filtering on tags
I''m trying to create a ssh class where the /etc/ssh/ssh_known_hosts and
/etc/ssh/shosts.equiv stays updated. The issue i''m finding is that if I
include a "tag == anything" in the Collector filter, it collects all
resources EXCEPT it''s own. In this case, the known_hosts and .equiv files
will have all the other hostnames, but not it''s own hostname.
2008 Jan 18
7
puppet 0.23.2 can''t collect exported resources
hi,guys
I''m test the resources export and collect , OS is Debian etch and
sarge, puppet server and client version all of the 0.23.2 ; the db is
MySQL-4.1
My test code is like this.
node ''b'' {
@@file {"/tmp/a": ensure => present ,content => "test"; }
}
node ''a'' {
File <<||>>
}
I run puppetd on
2002 Aug 13
3
[Bug 384] OpenSSH should store an SSH_SERVER variable for cluster hosts
http://cvs-mirror.mozilla.org/webtools/bugzilla/show_bug.cgi?id=384
------- Additional Comments From thomas+openssh at stromberg.org 2002-08-14 05:43 -------
Created an attachment (id=137)
--> (http://cvs-mirror.mozilla.org/webtools/bugzilla/attachment.cgi?id=137&action=view)
2 line patch for SSH_SERVER variable with incoming IP & port
This patch adds an SSH_SERVER variable as a
2010 Jun 01
2
Is sshkey host_aliases new in 0.25?
Is the host_aliases parameter to sshkey new in 0.25?
Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Could not
retrieve catalog: Invalid parameter ''host_aliases'' for type ''Sshkey''
at /etc/puppet/manifests/nodes/fr.twofish.com/ext3.pp:19 on node
ext3.fr.xxx.com
Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Not using cache
on failed catalog
The
2012 Aug 29
4
troubleshooting resource collection
Hi,
I''m new to Puppet. And I''m trying out an ssh module:
https://github.com/saz/puppet-ssh.
It collects ssh keys like this:
class ssh::knownhosts {
Sshkey <<| |>> {
ensure => present,
}
notify{"knownhosts class: $fqdn $hostname $ipaddress ":}
}
I can see it echoes the host key of the host the puppet agent runs on. But
the
2002 Sep 04
4
Determining Local IP Address within .profile
Hi !
I haven't found an easy solution to determine the local IP to which the remote SSH client is connected to the local SSHD. We use MC/Serviceguard which can create many Interfaces where a remote client could connect and we like to know within .profile which interface the client has connected to.
I've looked at the sourcecode and maybe the following could do something I described :
2009 Mar 11
2
trouble diagnosing exported resources
Hello,
I want to use exported resources (namely sshkey) and with the following
code, each node gets his own ssh key written into /etc/ssh/ssh_known_hosts,
but not the others ones. This is with puppet 0.24.7 on redhat.
node ''node1'' {
@@sshkey { "node1":
type => rsa,
key => $sshrsakey
}
Sshkey <<| |>>
}
node ''node2'' {
2001 Jul 16
6
openssh keys in ldap
Is there any work going into placing keys in a central directory such as
LDAP ?
Jeff McElroy
jmcelroy at dtgnet.com
2008 Jun 13
12
puppet/naginator?
I''m very interested in the way that puppet appears to be able to
generate nagios configurations though I can''t seem to find any
documenation on how it works:
http://reductivelabs.com/trac/naginator
is clearly a placeholder page...
Meanwhile the various pieces of info at links such as:
http://reductivelabs.com/trac/puppet/wiki/TypeReference#nagios-host
are just teasing me.
2007 Apr 12
14
how to make puppet a killer app
I''ve been thinking about how to make Puppet a killer app, and I think there
is one specific thing that could be done to help make that happen:
People using Puppet now to consistently state what they *really* wish Puppet
could do for them -- the recent thread around Puppet on Windows is in that
vein, but it''s not specific enough. For example, I''d like to know what
2012 Oct 10
2
ssh over udp (or: -L option listening for traffic with a UDP service?)
All,
A bit of background: I work on a QA API on a network that is very choppy (a
lot of network interrupts), and we use ssh to do a large part of this
automation.
This leads to some problems: ssh connections seem to be sensitive to
network state, becoming unusable if the choppiness reaches a certain
threshold, and either timing out or disconnecting if this happens.
Anyways, I stumbled across
2012 Dec 01
0
sshkey and server with HashKnowHosts set
Hey list,
Not sure if something has been posted about it but I didn''t find any post
after research,
I''d like to define an entry in my /etc/ssh/ssh_know_hosts using sshkey
resource.
After a run it does insert an entry there, but the issue is that I have the
HashKnownHosts flag set on my configuration file and that Puppet generate a
plain unencrypted entry for the
2011 Oct 03
2
sshkey resource type in Ubuntu 10.04
Hi,
I''m attempting to distribute a known host ssh key (for github) to an
Ubuntu 10.04 host. Puppet is distributing the key into /etc/ssh/
ssh_known_hosts as:
github.com ssh-rsa [really long ssh-rsa key]
However, Ubuntu seems to expect the key in this format:
|1|[really long ssh-rsa key]
(note all the keys in my known_hosts and ssh_known_hosts not managed
by puppet are prepended with
2017 Feb 03
2
compilation errors on master
`git describe' says V_7_3_P1-207-gc924b2ef (shouldn't it say
V_7_4_P1-<yadayada>?). This is what I see:
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I.