<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def login_server(self):
 """ Login to server """

        local('ssh -i {0} {1}@{2}'.format(
            env.key_filename, env.user, env.host_string
        ))