# Executing Commands on linux_ssh

Hi Everyone,

I think the problem is related to netmiko or linux servers but maybe someone can help me here as well:
I tried to use netmiko_send_command with a “linux_ssh” platform and realized that sending long commands fail because of the line break.

``````    task.run(netmiko_send_command, command_string="hostname")
``````

The first “hostname” commands runs fine but the second “wget …” fails.
The Problem ist at “base_connection.py Line 1378” (https://github.com/ktbyers/netmiko/blob/0aaa11066749ee2f75f4082763b7171629b52b4d/netmiko/base_connection.py#L1378)

The command ist too long for the terminal, therefore the result comes back with line breaks

``````wget https://raw.githubusercontent.com/nornir-automation\rn/nornir/develop/nornir/plugins/tasks/networking/netmiko_send_command.py\r\n--2020-03-07
``````

and that’s why the pattern never matches…

to `self.remote_conn = self.remote_conn_pre.invoke_shell(width=512) `