ssh configuration, I have multiple usernames on one host
23 Jan
2015
23 Jan
'15
5:48 p.m.
My hosting provider (TsoHost) provides ssh access for each domain hosted. The ssh login is of the following format:- <site>@shell.gridhost.co.uk The <site> is the first 8 characters of the domain name. What I would like to do in my ssh_config file is something like:- Host site1 site2 site3 site4 HostName shell.gridhost.co.uk User %h However this doesn't work of course becase the %h doesn't work in the User field. Can anyone see any easy way of doing this except to simply repeat the whole block for each domain, as in:- Host site1 HostName shell.gridhost.co.uk User site1 -- Chris Green
4073
Age (days ago)
4073
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Green