From owner-freebsd-questions@freebsd.org Fri Mar 30 12:09:26 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1BB6AF66D79 for ; Fri, 30 Mar 2018 12:09:26 +0000 (UTC) (envelope-from julien@perdition.city) Received: from relay-b01.edpnet.be (relay-b01.edpnet.be [212.71.1.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F18D85920 for ; Fri, 30 Mar 2018 12:09:25 +0000 (UTC) (envelope-from julien@perdition.city) X-ASG-Debug-ID: 1522410833-0a7ff53ae03d0620001-jLrpzn Received: from mordor.lan (213.219.145.67.adsl.dyn.edpnet.net [213.219.145.67]) by relay-b01.edpnet.be with ESMTP id iCL2XV4JHe4G7ea4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 30 Mar 2018 13:53:54 +0200 (CEST) X-Barracuda-Envelope-From: julien@perdition.city X-Barracuda-Effective-Source-IP: 213.219.145.67.adsl.dyn.edpnet.net[213.219.145.67] X-Barracuda-Apparent-Source-IP: 213.219.145.67 Date: Fri, 30 Mar 2018 13:53:53 +0200 From: Julien Cigar To: freebsd-questions@freebsd.org Subject: ssh with IdentityFile Message-ID: <20180330115353.GH5377@mordor.lan> X-ASG-Orig-Subj: ssh with IdentityFile MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0CboPPdgCg0mBjgS" Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) X-Barracuda-Connect: 213.219.145.67.adsl.dyn.edpnet.net[213.219.145.67] X-Barracuda-Start-Time: 1522410833 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.221:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-Scan-Msg-Size: 4347 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.5011 1.0000 0.7500 X-Barracuda-Spam-Score: 2.25 X-Barracuda-Spam-Status: No, SCORE=2.25 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests=BSF_SC0_MV0713, BSF_SC0_MV0713_2 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.49434 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 1.00 BSF_SC0_MV0713_2 BSF_SC0_MV0713_2 0.50 BSF_SC0_MV0713 Custom rule MV0713 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2018 12:09:26 -0000 --0CboPPdgCg0mBjgS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Any idea with with: ~/ cat .ssh/config = = = = =20 Host git.xxx.be = = = = =20 Hostname gitlab.lan = = = = =20 User git = = = = =20 IdentityFile ~/gitlab/bbpf = = = = =20 IdentitiesOnly yes = = = = =20 ProxyCommand ssh -a -l git home.xxx.be -W %h:%p = = = = =20 and: ~/ ls -l ~/gitlab = = = = =20 total 8 = = = = =20 -rw------- 1 mage mage 1766 Mar 30 13:37 bbpf = = = = =20 -rw-r--r-- 1 mage mage 397 Mar 30 13:37 bbpf.pub = = = = =20 It's still asking for ~/.ssh/id_rsa instead of ~/gitlab/bbpf when I'm: ~/ ssh git.xxx.be = = = = =20 Enter passphrase for key '/home/mage/.ssh/id_rsa': = =20 (ssh-agent is turned off) Thanks, Julien --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --0CboPPdgCg0mBjgS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlq+JU4ACgkQsrs3EKIE I8DrvA/8CXuHPU64So/a52GqEQ518HRiTbOtbBLaugJFbJF++Rm45LLD8pblvzyE mw5mbUo/wb23PcXvU3AgYfZA+UnB7GdNmanj3RkUi48LCMBOOH6ea4IVuLeGO47X gL9ang3zyWsNQg7JnPS6ypw/QeEZlDioALAO1crPB6KhF8Mn+E4KOt3FpCMhDcVK g8vXWKrbqZ98w9e7Zw03l+ts288xujpB7ewH2/pF3K7q105DwOsopQ9bpiGcqwAo O5L2lufDBxOjAGUYPqgKmvewsBkSGT9UDa/X9mzO01VQHBJ4ckbpSNmD2toamYRN qcvmQIdoQb8ar/Mhqxn39P99yK8r9ZPSpJhC9/nQ8JvXDk8GvGNWQLTdEJRrWJhG Bg4tvqNJHSvlM4Wuf2SFfUN0rHwxM9a8Lx7FbzzzCZWZaNrOKrZUzcOEOHKGciSw 6kou3DUqg7C7NYRfVktreZgiiKavCOH9Ut1dmjcs6XKCCByG0tK3naiR5ea+UhFX tQalpcwuwJHDeIk84GNHz4db2QbIk1A5Pe2ayTvrhZqzN/GmLvNqa0ETNMLCEQEh lm4+X23mx1skjOnjVdurHyF4ZSGCkNqaTyNXsTg5ip7PShCp8Su2slXrXeNi0kem QlYajMVA/jfqAOOhcjPehsGYTbZ0cV/v3ekIrvYQL8esjFV1U34= =ZMwm -----END PGP SIGNATURE----- --0CboPPdgCg0mBjgS--