Displaying 5 results from an estimated 5 matches for "do_rsa1_keygen".
2001 Feb 18
3
PATCH: Round 2: RH initscripts backward compatibility
...[ $? -ne 0 ]; then
+	exit 1
+fi
 
 RETVAL=0
 
-# Some functions to make the below more readable
+PROG="sshd"
+SSHD=/usr/sbin/sshd
 KEYGEN=/usr/bin/ssh-keygen
 RSA1_KEY=/etc/ssh/ssh_host_key
 RSA_KEY=/etc/ssh/ssh_host_rsa_key
 DSA_KEY=/etc/ssh/ssh_host_dsa_key
 PID_FILE=/var/run/sshd.pid
-do_rsa1_keygen() {
-	if ! test -f $RSA1_KEY ; then
-		echo -n "Generating SSH1 RSA host key: "
-		if $KEYGEN -q -t rsa1 -f $RSA1_KEY -C '' -N '' >&/dev/null; then
-			success "RSA1 key generation"
+LOCKFILE=/var/lock/subsys/sshd
+
+# Define some functions to make the bel...
2006 Oct 31
2
Running two sshd's
Hi all,
I'm wondering whether it is feasible or not to run two distinct sshd
daemons with different config options!
I have a CentOS 4.4 gateway with 2 Ethernet interfaces. One is
connected to the Internet and the other to the LAN.
Basically, what I would like to do is having a sshd that listens to
the LAN interface with password enabled auth. and a sshd bound to the
Internet interface with
2001 Feb 16
3
PATCH: make contrib/redhat/sshd.init work with older RH releases
Damien--
Attached is a patch to contrib/redhat/sshd.init which eliminates the
dependency on the success() and failure() functions from
initscripts>=4.16.  This allows sshd.init to be used for both early and
recent releases of Red Hat Linux (i've confirmed it works on both 4.2
and 5.2 as well as 6.2).
The patch also removes the 'Requires: initscripts >= 4.16' line from
2005 Jun 02
5
[Bug 1051] error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
...-n "${msg}"
    ;;
  esac
}
my_failure() {
  local msg
  if [ $# -gt 1 ]; then
    msg="$2"
  else
    msg="FAILED"
  fi
  case "`type -type failure`" in
    function)
      failure "$1"
    ;;
    *)
      echo -n "${msg}"
    ;;
  esac
}
do_rsa1_keygen() {
        if ! test -f $RSA1_KEY ; then
                echo -n "Generating SSH1 RSA host key: "
                if $KEYGEN -q -t rsa1 -f $RSA1_KEY -C '' -N '' >&/dev/null; then
                        my_success "RSA1 key generation"...
2008 Apr 21
3
FIPS 140-2 OpenSSL(2007) patches
Hi,
I am happy to (re)send a set of patches for compiling OpenSSH 4.7p1 with
FIPS 140-2 OpenSSL.
These are based on previously reported patches by Steve Marquess
<marquess at ieee.org> and Ben Laurie <ben at algroup.co.uk>,
 for ver. OpenSSH 3.8.
 
Note that these patches are NOT OFFICIAL, and MAY be used freely by
anyone.
 
Issues [partially] handled:
 SSL FIPS Self test.
 RC4,