Displaying 3 results from an estimated 3 matches for "ssh_service_name".
2013 Oct 24
2
SSH Module with multiple conditions
...ppet book. Is
this a good start? Or do I totally need to scrsp this and restart based on
my criteria?
class ssh::params {
case $operatingsystem {
freebsd: {
$ssh_package_name = ''openssh''
$ssh_service_config = ''/etc/ssh/sshd_config''
$ssh_service_name = ''sshd''
}
/aix: {
$ssh_package_name = ''openssh-server''
$ssh_service_config = ''/etc/ssh/sshd_config''
$ssh_service_name = ''ssh''
}
/(RedHat|CentOS|Fedora)/: {
$ssh_package_name = '...
2005 Jun 12
2
%h,%p,%u expansion for ControlPath
...openssh-4.1p1/ssh.c~ 2005-06-12 09:47:18.000000000 +0100
+++ openssh-4.1p1/ssh.c 2005-06-12 09:40:53.000000000 +0100
@@ -604,6 +604,17 @@ again:
*p = tolower(*p);
}
+ /* Get default port if port has not been set. */
+ if (options.port == 0) {
+ struct servent *sp;
+
+ sp = getservbyname(SSH_SERVICE_NAME, "tcp");
+ if (sp)
+ options.port = ntohs(sp->s_port);
+ else
+ options.port = SSH_DEFAULT_PORT;
+ }
+
if (options.proxy_command != NULL &&
strcmp(options.proxy_command, "none") == 0)
options.proxy_command = NULL;
@@ -611,6 +622,42 @@ again:
if (opt...
2001 Feb 22
5
PAM Service Name Patch
...;
+
RCSID("$Id: auth-pam.c,v 1.29 2001/02/15 00:51:32 djm Exp $");
#define NEW_AUTHTOK_MSG \
diff -urN openssh-2.5.1p1-orig/ssh.h openssh-2.5.1p1/ssh.h
--- openssh-2.5.1p1-orig/ssh.h Mon Feb 5 09:43:59 2001
+++ openssh-2.5.1p1/ssh.h Thu Feb 22 10:50:20 2001
@@ -61,7 +61,7 @@
#define SSH_SERVICE_NAME "ssh"
#if defined(USE_PAM) && !defined(SSHD_PAM_SERVICE)
-# define SSHD_PAM_SERVICE "sshd"
+# define SSHD_PAM_SERVICE __progname
#endif
/*