# Executes Command - Command exited with return code 255

**URL:** <https://forum.robotframework.org/t/executes-command-command-exited-with-return-code-255/668>\
**Category:** SSHLibrary\
**Created:** [2 September 2020 08:01 UTC](https://forum.robotframework.org/t/executes-command-command-exited-with-return-code-255/668 "2020-09-02T08:01:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunshine202001](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/sunshine202001/32/396_2.png) [@sunshine202001](https://forum.robotframework.org/u/sunshine202001)\
**Post date:** [2 September 2020 08:01 UTC](https://forum.robotframework.org/t/executes-command-command-exited-with-return-code-255/668/1 "2020-09-02T08:01:09Z")

</div>

Hello experts,

I am new here and I am suffering one issue when using Robot Framework.

![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/1X/b8ca23bbb2a1850b66ed0865c235823ac5419e37.png)

While this command works fine when I ran it manually.  
ihsbc3-oam-a:root/root:

# ssh ihsbc3-cfed-b ping 192.168.50.1 -I 192.168.50.50 -c 5

PING 192.168.50.1 (192.168.50.1) from 192.168.50.50 : 56(84) bytes of data.  
64 bytes from 192.168.50.1: icmp\_seq=1 ttl=64 time=0.827 ms  
64 bytes from 192.168.50.1: icmp\_seq=2 ttl=64 time=0.277 ms  
64 bytes from 192.168.50.1: icmp\_seq=3 ttl=64 time=0.217 ms  
64 bytes from 192.168.50.1: icmp\_seq=4 ttl=64 time=0.217 ms  
64 bytes from 192.168.50.1: icmp\_seq=5 ttl=64 time=0.238 ms

— 192.168.50.1 ping statistics —  
5 packets transmitted, 5 received, 0% packet loss, time 4000ms  
rtt min/avg/max/mdev = 0.217/0.355/0.827/0.237 ms  
ihsbc3-oam-a:root/root:

Highly appreicated for your help and suggestion.

Sunshine

---

<div class="post-metadata">

**Author:** ![zastress](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/zastress/32/1259_2.png) [@zastress](https://forum.robotframework.org/u/zastress)\
**Post date:** [3 September 2020 20:39 UTC](https://forum.robotframework.org/t/executes-command-command-exited-with-return-code-255/668/2 "2020-09-03T20:39:56Z")

</div>

Have you tried using the “Run” command from “Operatingsystem” library? Same result?
