# SSH run shell command error

**URL:** <https://forum.uipath.com/t/ssh-run-shell-command-error/410016>\
**Category:** Studio\
**Tags:** activities-panel, ssh, question, studio, studiox\
**Created:** [March 25, 2022, 10:19am UTC](https://forum.uipath.com/t/ssh-run-shell-command-error/410016 "2022-03-25T10:19:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SHARMA\_Shikha](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sharma_shikha/32/263852_2.png) [@SHARMA\_Shikha](https://forum.uipath.com/u/SHARMA_Shikha)\
**Post date:** [March 25, 2022, 10:19am UTC](https://forum.uipath.com/t/ssh-run-shell-command-error/410016/1 "2022-03-25T10:19:01Z")

</div>

Hi All,

I am using studioX,  
I am try to ssh linux machine and run some commands , the command is executing but getting below error.

 ![image](https://global.discourse-cdn.com/uipath/original/4X/1/b/8/1b843fc7b8fbaa6a1e84cf20881b9f4d539a2b9c.png)

at UiPathTeam.SSHConnector.Activities.SSHHelpers.Execute(ShellStream shell, Regex expectedShellPrompt, String commandLine, TimeSpan timeout, Boolean checkExitCode)  
at UiPathTeam.SSHConnector.Activities.SSHRunShellCommand.d\_\_35.MoveNext()  
— End of stack trace from previous location where exception was thrown —  
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
at UiPathTeam.SSHConnector.Activities.SSHRunShellCommand.d\_\_34.MoveNext()  
— End of stack trace from previous location where exception was thrown —  
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)  
at UiPath.Shared.Activities.ContinuableAsyncCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)  
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)  
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Can anyone help to resolve this error.

---

<div class="post-metadata">

**Author:** ![Srini84](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/srini84/32/464032_2.png) [@Srini84](https://forum.uipath.com/u/Srini84)\
**Post date:** [March 26, 2022, 4:31pm UTC](https://forum.uipath.com/t/ssh-run-shell-command-error/410016/2 "2022-03-26T16:31:21Z")

</div>

@SHARMA_Shikha

Instead of Stuidox try in Studio

Hope this may help you

Thanks

---

<div class="post-metadata">

**Author:** ![SHARMA\_Shikha](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sharma_shikha/32/263852_2.png) [@SHARMA\_Shikha](https://forum.uipath.com/u/SHARMA_Shikha)\
**Post date:** [March 26, 2022, 4:47pm UTC](https://forum.uipath.com/t/ssh-run-shell-command-error/410016/3 "2022-03-26T16:47:41Z")

</div>

Sorry for the Typo, I am using studio

---

<div class="post-metadata">

**Author:** ![Vi\_Quad](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/vi_quad/32/371110_2.png) [@Vi\_Quad](https://forum.uipath.com/u/Vi_Quad)\
**Post date:** [March 21, 2023, 11:24am UTC](https://forum.uipath.com/t/ssh-run-shell-command-error/410016/4 "2023-03-21T11:24:51Z")

</div>

Hi,  
@Srini84 @SHARMA_Shikha  
Is it resolved for you?

I am facing the same issue
