??????, 10-???-2014 16:53:14 Ben Lindstrom ????????:> Why not do: > > host gitwork > HostName gitorious.org > User git > IdentityFile ~/.ssh/foo.key > > > host githome > HostName gitorious.org > User git > IdentityFile ~/.ssh/bar.key > > > As "Match" is a server side feature not a client feature. And the above > would mean you'd do: > > $ ssh gitwork:foo/foo.git > or > $ ssh githome:bar/bar.git > > I do this trick a lot when I have the same machine with multiple login > (think one web server with multi-virtual hosts all with different > chroot/sftp locations). > > - BenThank you! That's what I need. BTW is it possible to make configuration without hostname modification?
On Thu, 11 Dec 2014, chaser at cryptolab.net wrote:> Thank you! That's what I need. BTW is it possible to make configuration > without hostname modification?No, because the path isn't presented to ssh in any way it can easily use
??????, 11-???-2014 19:28:15 Damien Miller ????????:> On Thu, 11 Dec 2014, chaser at cryptolab.net wrote: > > Thank you! That's what I need. BTW is it possible to make configuration > > without hostname modification? > > No, because the path isn't presented to ssh in any way it can easily useSo... is this can't be implemented/fixed? I think that confuguration should be more logical and easier for end user. And hostname modification is not very clear form of configuration.