Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated CI sshd template. Updated appveyor cfg. Minor updates
  • Loading branch information
Panos authored and pkittenis committed Jan 12, 2025
commit 6812ab9657f41fcefe67167d781ea8bfc1db6392
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ environment:
PYTHON_DEF: "C:\\Python38-x64"
PYTHON_VERSION: "3.8"
# Python versions to build wheels for
PYTHONVERS: C:\Python36-x64 C:\Python37-x64 C:\Python38-x64 C:\Python39-x64 C:\Python310-x64 C:\Python311-x64
PYTHONVERS: C:\Python38-x64 C:\Python39-x64 C:\Python310-x64 C:\Python311-x64 C:\Python312-x64
PYTHON_ARCH: "64"

install:
Expand Down
7 changes: 3 additions & 4 deletions _setup_libssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
import os

from sys import stderr
from subprocess import check_call
from glob import glob
from shutil import copy2
from multiprocessing import cpu_count
from shutil import copy2
from subprocess import check_call
from sys import stderr


def build_ssh():
Expand Down
8 changes: 8 additions & 0 deletions ci/integration_tests/embedded_server/sshd_config.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ HostCertificate {{parent_dir}}/ca_host_key-cert.pub
TrustedUserCAKeys {{parent_dir}}/ca_user_key.pub
AuthorizedPrincipalsFile {{parent_dir}}/principals


MaxAuthTries 99999
MaxSessions 99999
MaxStartups 99999
PerSourceMaxStartups 99999
PerSourcePenaltyExemptList *.*.*.*


AcceptEnv LANG LC_*
Subsystem sftp internal-sftp
AuthorizedKeysFile {{parent_dir}}/authorized_keys
Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import platform
import os
import platform
import sys
from glob import glob
from _setup_libssh import build_ssh

import versioneer
from setuptools import setup, find_packages

import versioneer
from _setup_libssh import build_ssh

cpython = platform.python_implementation() == 'CPython'

try:
Expand Down Expand Up @@ -125,11 +126,11 @@
'Programming Language :: C',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: System :: Shells',
'Topic :: System :: Networking',
'Topic :: Software Development :: Libraries',
Expand Down