Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2018 13:53:53 +0200
From:      Julien Cigar <julien@perdition.city>
To:        freebsd-questions@freebsd.org
Subject:   ssh with IdentityFile
Message-ID:  <20180330115353.GH5377@mordor.lan>

next in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180330115353.GH5377>