I have a hosting account which allows ssh login. There are several web sites on my hosting and each has its own ssh login, so I login as:-
ssh email@example.com ssh firstname.lastname@example.org ssh email@example.com
What I hoped to do in ssh_config was something like:-
Host websitename anothersite yetanothersite Hostname myhost.co.uk User %h
But this doesn't work because the %h doesn't substitute in the User line.
Does anyone have any idea how I can achieve what I want, enter just the site name (well, it's actually just the first 8 letters of the site name) after ssh and get the result 'ssh firstname.lastname@example.org'?