Commit c3614c4f authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Change default configuration to use SSH port 22



We no longer run a separate SSH daemon on port 2222. Change the default
configuration accordingly. Also remove some configuration files that are
no longer needed.
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
parent 42b9e4dd
[Socket]
ListenStream=2222
Accept=yes
[Install]
WantedBy=sockets.target
[Unit]
Description=AUR OpenSSH Per-Connection Daemon
[Service]
ExecStart=-/srv/http/aurweb/openssh/sshd -i -f /srv/http/aurweb/.ssh/sshd_config
User=aur
StandardInput=socket
StandardError=syslog
virtual-root=/cgit/
clone-prefix=git+ssh://aur@aur.archlinux.org:2222
clone-prefix=git+ssh://aur@aur.archlinux.org
noheader=0
logo=
css=/css/cgit.css
......
......@@ -20,7 +20,7 @@ disable_http_login = 1
aur_location = https://aur.archlinux.org
cgit_uri = https://aur.archlinux.org/cgit/
git_clone_uri_anon = https://aur.archlinux.org/cgit/%s.git/
git_clone_uri_priv = ssh+git://aur@aur.archlinux.org:2222/%s.git/
git_clone_uri_priv = ssh+git://aur@aur.archlinux.org/%s.git/
max_rpc_results = 5000
aur_request_ml = aur-requests@archlinux.org
request_idle_time = 1209600
......
Port 2222
HostKey ~/.ssh/ssh_host_rsa_key
PasswordAuthentication no
UsePrivilegeSeparation no
AuthorizedKeysCommand /srv/http/aurweb/scripts/git-integration/git-auth.py "%t" "%k"
AuthorizedKeysCommandUser aur
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment