X-Original-To: alpine-aports@lists.alpinelinux.org Received: from buffalo.birch.relay.mailchannels.net (buffalo.birch.relay.mailchannels.net [23.83.209.24]) by lists.alpinelinux.org (Postfix) with ESMTP id 98C2F5C4271 for ; Thu, 1 Sep 2016 16:37:32 +0000 (GMT) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 74B1C1220F9 for ; Thu, 1 Sep 2016 16:37:31 +0000 (UTC) Received: from ocean.mxroute.com (ip-10-229-10-199.us-west-2.compute.internal [10.229.10.199]) by relay.mailchannels.net (Postfix) with ESMTPA id 6ED7E12012A for ; Thu, 1 Sep 2016 16:37:30 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from ocean.mxroute.com ([TEMPUNAVAIL]. [10.16.27.41]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.7.6); Thu, 01 Sep 2016 16:37:31 +0000 X-MC-Ingress-Time: 1472747850947 X-MC-Relay: Neutral X-MailChannels-SenderId: mxroute|x-authuser|developer@it-offshore.co.uk X-MailChannels-Auth-Id: mxroute X-MC-Loop-Signature: 1472747850740:3067848045 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=it-offshore.co.uk; s=default; h=Message-Id:Date:Subject:To:From:Sender: Reply-To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=V0fm77H2dewiR+Hd6vZlIVeIPdDs2HfKlOjT6eW2E9c=; b=7K879GVQ4HaMhfA/WCxpKcozxv 1oRvWRzAS7QDrki3A9lRXoBtcIOKDxeOJSsSu5fa/eXJi8S+1olM2/P9gWKMpVwp76fhKu7eW9ezD vjHfcyT3SC++vN0NfY/DCN1RRcaC8sQbf7rH6hhcLxq/p/fu3dbTu0uG38KmoGUbyGJnt57ADUCnt +kvqBsLw1N872JlrmmD+J4UAiJoCNWsrsLzgPO8R2Pi0BFV8pVptTBlM67M/FcgWJdHhY5xLnmtGa 2MqSqBIGGs0MKibMxRCISennoFp8S0lQQzelbGv18LiaGo/giaPycCvTC57A6IQQf/1iqh0nSaXFA tL+ahR4g==; From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] community/autossh: update README.alpine Date: Thu, 1 Sep 2016 16:36:54 +0000 Message-Id: <20160901163654.28289-1-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.9.3 X-AuthUser: developer@it-offshore.co.uk X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- community/autossh/APKBUILD | 8 ++++---- community/autossh/README.alpine | 9 +++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/community/autossh/APKBUILD b/community/autossh/APKBUILD index ef27bd3..0ca2e88 100644 --- a/community/autossh/APKBUILD +++ b/community/autossh/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Stuart Cardall pkgname=autossh pkgver=1.4e -pkgrel=0 +pkgrel=1 pkgdesc="Automatically restart SSH sessions and tunnels" url="http://www.harding.motd.ca/autossh/" arch="all" @@ -59,8 +59,8 @@ package() { } md5sums="f86684b96e99d22b2e9d35dc63b0aa29 autossh-1.4e.tgz -fb31542bb76c90a8286fdf8eca402d1e README.alpine" +a3ed8e9fdefac64d1b7f17a52587c0e1 README.alpine" sha256sums="9e8e10a59d7619176f4b986e256f776097a364d1be012781ea52e08d04679156 autossh-1.4e.tgz -7e1a64e013743e94aa9477968d1a9dc9ca71f11b45a0530088d0c03b19f474cb README.alpine" +f01d7e7ca2f3751875a756f3f2ba5a28cb2703fea21026d7c29a9bfc4a969b79 README.alpine" sha512sums="2f71403ee005103c6a3e2e669f6b26153161c95c8dacd3e73d61673461b3512348636877760d911341771e744c0a682b107df4ac48621661ff36a9fc0191f2fb autossh-1.4e.tgz -25ec2d17c5b93d8c3f5b41f1bb2671432e8d29081621fe58ff8de4c20171b7447459272a27264440a947ef5867ed15bbaaea8ea7ec02783956055e0ee8e31128 README.alpine" +40cf39a391ad7320a07fbe8d4edd17498c92794f330393374406a0dbf4a0415d51e1fe11e6d2d07f399025bf8620b8937abd152c00be0297b30c6c3a876675cb README.alpine" diff --git a/community/autossh/README.alpine b/community/autossh/README.alpine index d7013c3..f67cbd9 100644 --- a/community/autossh/README.alpine +++ b/community/autossh/README.alpine @@ -16,10 +16,11 @@ echo 'y' |ssh-keygen -t ed25519 -N '' ------------------------------------------------------------------- #!/bin/sh +sleep 2 exec 2>&1 su -s /bin/sh autossh -c \ -'autossh -M 0 -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -L 1234:localhost:1234 -N -l autossh remote.ip.addr' -------------------------------------------------------------------------------------------------------------------------- +'export AUTOSSH_GATETIME=0 && nohup autossh -M 0 -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -L 1234:localhost:1234 -N -l autossh remote.ip.addr' +------------------------------------------------------------------------------------------------------------------------------------------------------------ ln -s /etc/sv/autossh /etc/service/autossh ------------------------------------------------------------------------------- ** if running autossh in a script without using runit add -f to ssh options **| @@ -30,5 +31,5 @@ ln -s /etc/sv/autossh /etc/service/autossh psql -h 127.0.0.1 -p 1234 -U username -d database ------------------------------------------------------------------------------- openssh-server: works out of the box | ed25519 keys possible -dropbear: echo "/bin/false" >> /etc/shells | ecdsa keys possible -tinyssh: port forwarding not yet implemented | ed25519 keys possible +dropbear: echo "/bin/false" >> /etc/shells | ecdsa keys possible +tinyssh: port forwarding not yet implemented | ed25519 keys possible -- 2.9.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---