From: <abe...@us...> - 2013-01-02 21:35:45
|
Revision: 5850 http://astlinux.svn.sourceforge.net/astlinux/?rev=5850&view=rev Author: abelbeck Date: 2013-01-02 21:35:38 +0000 (Wed, 02 Jan 2013) Log Message: ----------- openssh, no need to create rsa1 keys since we only allow sshv2, also prefer RSA over DSA and build RSA root user keys instead of DSA keys Modified Paths: -------------- branches/1.0/package/openssh/sshd.init Modified: branches/1.0/package/openssh/sshd.init =================================================================== --- branches/1.0/package/openssh/sshd.init 2013-01-01 22:46:16 UTC (rev 5849) +++ branches/1.0/package/openssh/sshd.init 2013-01-02 21:35:38 UTC (rev 5850) @@ -53,15 +53,11 @@ # Generate server keys unset IFS - for i in ssh_host_key ssh_host_rsa_key ssh_host_dsa_key ssh_host_ecdsa_key; do + for i in ssh_host_rsa_key ssh_host_dsa_key ssh_host_ecdsa_key; do file="/tmp/etc/ssh/$i" if [ ! -f "$file" ]; then msg="Generating ssh server public/private key type:" case $i in - ssh_host_key) - echo -n "$msg rsa1..." - /usr/bin/ssh-keygen -q -t rsa1 -b 1024 -f "$file" -N '' - ;; ssh_host_rsa_key) echo -n "$msg rsa..." /usr/bin/ssh-keygen -q -t rsa -f "$file" -N '' @@ -109,17 +105,17 @@ # Generate root user keys if [ -d /mnt/kd/ssh_root_keys ]; then - for i in id_dsa id_ecdsa; do + for i in id_rsa id_ecdsa; do file="/mnt/kd/ssh_root_keys/$i" if [ ! -f "$file" ]; then msg="Generating ssh root user public/private key type:" case $i in - id_dsa) - echo -n "$msg dsa..." - # run in a background process since DSA takes a long time... + id_rsa) + echo -n "$msg rsa..." + # run in a background process since RSA takes a long time... ( - nice /usr/bin/ssh-keygen -q -t dsa -f "$file" -N '' - if [ ! -f /root/.ssh/id_dsa ]; then + nice /usr/bin/ssh-keygen -q -t rsa -f "$file" -N '' + if [ ! -f /root/.ssh/id_rsa ]; then cp -p "$file"* /root/.ssh/ fi ) >/dev/null 2>&1 & @@ -144,7 +140,7 @@ } start () { - if [ -f /etc/ssh/ssh_host_key ]; then + if [ -f /etc/ssh/ssh_host_rsa_key ]; then echo "Starting sshd..." /usr/sbin/sshd fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2017-03-23 14:01:46
|
Revision: 8223 http://sourceforge.net/p/astlinux/code/8223 Author: abelbeck Date: 2017-03-23 14:01:44 +0000 (Thu, 23 Mar 2017) Log Message: ----------- openssh, sshd.init, sshd_config, consistently use space instead of = Modified Paths: -------------- branches/1.0/package/openssh/sshd.init Modified: branches/1.0/package/openssh/sshd.init =================================================================== --- branches/1.0/package/openssh/sshd.init 2017-03-22 23:13:11 UTC (rev 8222) +++ branches/1.0/package/openssh/sshd.init 2017-03-23 14:01:44 UTC (rev 8223) @@ -33,7 +33,7 @@ PasswordAuthentication ${SSHD_PASS_AUTH:-yes} UseDNS no -PubkeyAcceptedKeyTypes=+ssh-dss +PubkeyAcceptedKeyTypes +ssh-dss IPQoS cs2 af41 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2017-03-23 14:40:01
|
Revision: 8224 http://sourceforge.net/p/astlinux/code/8224 Author: abelbeck Date: 2017-03-23 14:39:59 +0000 (Thu, 23 Mar 2017) Log Message: ----------- openssh, sshd.init, sshd_config, disable s/key authentication since we don't support it Modified Paths: -------------- branches/1.0/package/openssh/sshd.init Modified: branches/1.0/package/openssh/sshd.init =================================================================== --- branches/1.0/package/openssh/sshd.init 2017-03-23 14:01:44 UTC (rev 8223) +++ branches/1.0/package/openssh/sshd.init 2017-03-23 14:39:59 UTC (rev 8224) @@ -31,6 +31,7 @@ echo " PermitRootLogin ${SSHDROOT:-yes} PasswordAuthentication ${SSHD_PASS_AUTH:-yes} +ChallengeResponseAuthentication no UseDNS no PubkeyAcceptedKeyTypes +ssh-dss This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2017-03-30 00:15:20
|
Revision: 8247 http://sourceforge.net/p/astlinux/code/8247 Author: abelbeck Date: 2017-03-30 00:15:17 +0000 (Thu, 30 Mar 2017) Log Message: ----------- openssh, tweak sshd init.d log text Modified Paths: -------------- branches/1.0/package/openssh/sshd.init Modified: branches/1.0/package/openssh/sshd.init =================================================================== --- branches/1.0/package/openssh/sshd.init 2017-03-29 22:29:07 UTC (rev 8246) +++ branches/1.0/package/openssh/sshd.init 2017-03-30 00:15:17 UTC (rev 8247) @@ -71,7 +71,7 @@ cp -a /stat/etc/ssh/* /tmp/etc/ssh/ else if upgrade_moduli /tmp/etc/ssh/moduli /stat/etc/ssh/moduli; then - echo "Upgrading ssh DH primes in /etc/ssh/moduli" + echo "Upgrading ssh DH groups in /etc/ssh/moduli" cp -p /stat/etc/ssh/moduli /tmp/etc/ssh/moduli fi fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |