Giter VIP home page Giter VIP logo

attachmentgenie-ssh's People

Contributors

actionjack avatar alejandrobednarik-olx avatar attachmentgenie avatar bobtfish avatar craigwatson avatar cwood avatar dongola7 avatar eirsyl avatar florinbroasca avatar gibbs avatar hoogwater avatar joshbetz avatar kronos-pbrideau avatar mjhas avatar pindar avatar rexcze avatar roman-mueller avatar tizzo avatar uggedal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

attachmentgenie-ssh's Issues

PermitRootLogin should support prohibit-password, without-password and forced-commands-only

These 3 options are valid for PermitRootLogin as well as yes and no. We were previously running an older version of the module, however we've recently updated to puppet 4.x and version 2.1.0 of the module, and noticed that line 161 of server.pp now restricts valid answers to yes or no. This regular expression should be expanded to support the other 3 answers as valid also.

Port definition is not working

Hi,

Really new to puppet, but it seems that the port parameter do not work properly. Here is my error message :

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter port on Class[Ssh::Server] at /etc/puppet/manifests/site.pp:46

This is my site.pp file section which instantiate your class (same as in your sample) "

class { 'ssh::server':
                port => 2009
                permit_root_login => 'no',
        }

When I remove the port param, no problem.

I checked on the Server class but I did not see any ports var , but it seems locate on the params file.
I try to instance the ssh::Params directly from my site.pp file, but it does not seems to work that way :

Error 400 on SERVER: Duplicate declaration: Class[Ssh::Params] is already declared; cannot redeclare

What am I doing wrong ?

File resource error

Hi,

Is it possible that the resource file is missing for the user define ?

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find resource 'File[/home/username]' for relationship on 'Ssh_authorized_key[username@host]' on node...

Multiple Key for one user ?

Hi,

I am new to Puppet and I use your ssh module, but I can't add several public keys to the same user?

I tried this but it did not work :

ssh::user { 'my_user':
  key => ['akalkalkalka', 'bkblkblkblkb'],
  comment => ['key1', 'key2']
}

and if i try this too :

ssh::user { 'my_user':
  key => 'akalkalkalka',
  comment => 'key1',
}

ssh::user { 'my_user':
  key => 'bkblkblkblkb',
  comment => 'key2',
}

I have "duplcated content" !

Is it possible to do what I need with your module ?

Manage ssh private and public server host keys content

Hi,

Have you considered to support private and public server host keys content?
I mean this files:

/etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_host_dsa_key.pub
/etc/ssh/ssh_host_ecdsa_key
/etc/ssh/ssh_host_ecdsa_key.pub
/etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub

Doing so you can ensure that a host, even after reinstallation, will have the same host key, so other hosts that usually connect to this via ssh will not throw the typical: "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED". This is important when you have some automatic procedures that relay on interchanged fingerprints.

Do you see any security issues here?

Regards.

Ubuntu 20.04 LTS problems in 3.0.0

(I did notice that you have started Ubuntu 20.04 support in master but not yet released.)

I get these warnings on a Ubuntu 20.04 LTS but I think some of it might be needed to be changed for as old as 16.04.
I looks like some defaults may need to be updated and some changes made in the template?

I'm sure I can create a local workaround by using my own settings but it would be nice if it wouldn't be needed.

/etc/ssh/sshd_config line 12: Deprecated option UsePrivilegeSeparation
/etc/ssh/sshd_config line 13: Deprecated option KeyRegenerationInterval
/etc/ssh/sshd_config line 14: Deprecated option ServerKeyBits
/etc/ssh/sshd_config line 21: Deprecated option RSAAuthentication
/etc/ssh/sshd_config line 25: Deprecated option RhostsRSAAuthentication
/etc/ssh/sshd_config line 43: Deprecated option UseLogin
/etc/ssh/sshd_config line 53: Bad SSH2 mac spec 'hmac-sha2-512,hmac-sha2-256,hmac-ripemd160'.

root key management

Thanks for the module, it's been helpful.

Currently, the module allows root login, though it suggests it's bad practice.

For key management (i.e. ssh::user), it does not consider the case of root, assuming a path of '/home/'. I would expect this as oversight, but I'm asking just in case it's not.

Would you welcome a patch to support setting root ssh keys, or has that functionality been purposefully left out to discourage the practice?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.