cdmackay
Active Member
Is there an easy way to make something like this persistent when telnetted in to the Humax?
This only lasts for the instance of "sh" you are running.Code:humax# alias scp="scp -i /mod/.ssh/db_rsa" humax# alias scp='scp -i /mod/.ssh/db_rsa'
As an alternative to a shell alias, you could put this /mod/.ssh/config:
Code:
IdentityFile /mod/.ssh/db_rsa
An advantage of putting it in the config file would be to control its application, e.g. restrict it to particular host(s):
Code:
Host server1 server2 server3
IdentityFile /mod/.ssh/db_rsa