Displaying 17 results from an estimated 17 matches for "sshrsakey".
2007 Aug 08
6
Exporting collections/sshkeys
...resources SET exported=''t'' where restype=''sshkey'';
So I am either doing something wrong below or exported resources are not
tagged as such? Hints? Bug? Help?
Thanks,
Josko P.
Recipe:
class ssh_rsa_keys {
# add the key, if we have one
case $sshrsakey {
"": { # ignore empty keys
}
default: {
@@sshkey { "$hostname": type => rsa, key =>
$sshrsakey }
@@sshkey { "$fqdn": type => rsa, key => $sshrsakey }...
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?) keys exported would be
re-added. At one point I counted 34 duplicate entries. I changed the
module to:
@@sshkey {
"$fqdn": type => rsa,
key...
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:
ensure => present,
host_aliases => [$hostname, $ipaddress],...
2007 Apr 04
5
sshkey
Hello all,
How are you using the sshkey type? Are you using it to list hosts and keys in a class that nodes include in order to manage /etc/ssh/ssh_known_hosts or something else? How does any of this relate to the sshrsakey and sshdsakey facts on the host? I read some stuff about this on the Virtual Resources page but it''s too vague for my simple mind and I''d be reluctant to use experimental code anyway.
All the best,
Adam Kosmin
_______________________________________________
Puppet-users mailin...
2013 Aug 13
2
Collector not realizing own exported resources when filtering on tags
...-qa | grep puppet
puppet-3.2.3-1.el5
(where $dsitename is the lowercase version of a global fact)
@@sshkey{ "${::fqdn}-ssh-pubkey" :
tag => $dsitename,
ensure => present,
host_aliases => [ $::hostname ],
key => $::sshrsakey,
name => $::fqdn,
type => ''ssh-rsa'',
}
@@file_line{ "${::fqdn}-shosts.equiv" :
tag => $dsitename,
path => "/etc/ssh/shosts.equiv",
ensure => present,
line => &...
2009 Dec 09
3
facter 1.5.7 all lsb* items missing
...@ 2.40GHz
processorcount => 2
productname => VMware Virtual Platform
ps => ps -ef
puppetversion => 0.24.8
rubysitedir => /usr/lib/ruby/site_ruby/1.8
rubyversion => 1.8.5
selinux => false
serialnumber => VMware-50 10 78 a0 ba 0f ad 0a-3d 47 f5 59 99 22 bd b8
sshdsakey =>
sshrsakey =>
swapfree => 1.45 GB
swapsize => 2.00 GB
timezone => CST
type => Other
uniqueid => xxxxxx
uptime => 17 days
uptime_days => 17
uptime_hours => 416
uptime_seconds => 1499360
virtual => vmware
--
You received this message because you are subscribed to the Google Gr...
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 puppet agents:
root@harper~> puppet agent -t
info: Retrieving plugin
info: Loading facts in datacenter
info: Loading facts in datace...
2009 Mar 11
2
trouble diagnosing exported resources
...e 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'' {
@@sshkey { "node2":
type => rsa,
key => $sshrsakey
}
Sshkey <<| |>>
}
...
I have this working as expected on another set of hosts (debian with puppet
0.24.7).
When I compare the output...
2012 Jul 31
0
Managing /etc/ssh/shosts.equiv
Hi, does anyone have any elegant solutions for managing shosts.equiv? In
my puppet ssh module, host keys for /etc/ssh/ssh_known_hosts are
automatically managed with:
@@sshkey { $hostname:
ensure => present,
type => "rsa",
key => $sshrsakey,
}
Sshkey <<| |>>
Is there a similar construct for shosts.equiv? Its just a list of
hostnames, so I''m hoping there is an easy way to dump all the puppet agent
hostnames to a file so I don''t have to manually add new hosts as they come
up. Thanks...
2007 Aug 29
4
Newbie stuck on facter not finding hostname
...e is still nil
value for kernel is still nil
value for operatingsystem is still nil
domain => my.domain.com
facterversion => 1.3.7
ps => ps -ef
puppetversion => 0.22.4
rubysitedir => /usr/local/puppet/lib/ruby/site_ruby/1.8
rubyversion => 1.8.2
sshdsakey => (....the dsa key...)
sshrsakey => (...the rsa key...)
I couldn''t find any reference to this issue anywhere...if it''s
documented or someone''s seen it and can point me in the right direction,
I''d be most appreciative.
Alternatively, if someone can point me in the right direction for
debu...
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
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
2007 May 10
3
Bug or misconfiguration? Trying to add local user in NIS environment
.../Y0RUlbk/cDNBsyZ5MmFzlrh94nsjloToypuisDjq6jDe0Wq4mTPLvWBf6kvsH5hhFcISvMMloPxAR5620jLvbA92pw1HNgRxhd7hqBUNDg16KBy7VQD5gDLAAAAIAywmVwfDoM8/txVR6mCydwdNxZUf5Nlx8hEkN/5YX7CS42aJGwwP1IQWtiHjezV6gt9y4nHM+SPnzxMCzovC+jmZ6PnV6j2wi25gBlIj4yZfnY9XJa7XTsafdNTBcfk/JSuWvab81fLtDZQQrTeXesHxewMH2q1RbMHoM470tt2g==
sshrsakey => AAAAB3NzaC1yc2EAAAABIwAAAIEArAjMAmaG8JrEhCIEl8nlHnH5qyqwr+TRETtdrhBOBa0g0WwTxRnPTjQ98u2p32zuQWtXKrx2D49/BCp67poJY4FPbfpljvHFbb0N9/N80uu5ew3SGj4+qseJCT+yC+3ngD+qsT4mAxkMcAsqD+f15iKMlA3KXeibak8olkoyZTM=
suse_arch => i586
suse_repo_name => sles10-i586
suse_version => sles10
swapfree =&g...
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
2009 Feb 12
2
"Could not find server puppet" - installation/configuration error
...CRF4bmWwRrvmOemNiAx8cvNLoa9gx2ZvMTN3L42ly1tuoeU6CeZR/
Y0J+OrydW6bt+TpSSjVkX7S8Vl7xY4a5Ueb860ng75P6cJ7ae3G5+c0EsfOV1RN/
gAAACBAJcwMB/Wk7W3O49LIbT7dawJFTYxzHcwtzf20Yz/cu
+8Nvgu8K1ypGX0E9+OKBSO2Ma0mKO0psydnX9esQ4leYlfStoFugMo9BAiRihdCW
+da5jnTalwUec3ZZmxFuysM2E6zSeYsL8szwneKkP+qTgotYb6AdbcBoNo+y1ytyEb
sshrsakey => AAAAB3NzaC1yc2EAAAABIwAAAIEA6hDmXmctZ5ObFr7ciHKZ+jlC4wWG
+YhOl5fZVbu0XAZang7pcxPH+5zT0fIVXPWPw3DeHW5O
+Z8CpcI8zNpbXSVygE3xpW9uHgn/
Nj03nL7TvQfms945fl4Va8Lk8x76YTfBIwW1HscQ6cbXMiIcmX
+uMh9aaXSOW32Wr5aP3rE=
uniqueid => 84025c7e
--~--~---------~--~----~------------~-------~--~----~
You recei...
2013 Apr 18
4
fact_stomp_server
Does anyone have any insight into this error message?
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
The fact named fact_stomp_server does not appear to be a valid hostname.
The value of '''' does not match ''^[a-zA-Z0-9.-]+$''. A common cause of this
problem is running puppet agent as a normal user instead of root, or the
fact is
2008 Jul 01
6
OpenVZ configuration of networking with puppet - big crash
I am trying to streamline the current distribution specific setup and
creation of VE''s within OpenVZ with puppet. My first attempt has gone
horribly wrong as you will see below. Here''s the script I wrote to
replace the redhat specific setup that OpenVZ used:
[jleggett@lxp6d15m3 scripts]$ cat redhat-add_ip.sh
#!/bin/bash
#
# Debug - take out later
set -x