Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSHException: Channel Closed on Execute Command #430

Open
paulvno opened this issue Apr 21, 2023 · 0 comments
Open

SSHException: Channel Closed on Execute Command #430

paulvno opened this issue Apr 21, 2023 · 0 comments

Comments

@paulvno
Copy link

paulvno commented Apr 21, 2023

I get an SSHException: Channel closed exception when calling Execute Command. All other functions within the library work; it's only Execute Command that returns the exception. Host, User, and Pass are valid as I can execute the mkdir command outside (windows shell) of Robot without issue. The FTP server logs show nothing unusual, just the connection open/close - no warnings/exceptions.

Using:

  • robotframework-sshlibrary=3.8.0
  • python=3.9.13
  • rpaframework==22.0.0

Sample code

FTP Create Folder

   ${HOST}=    Set Variable    <host>`
   ${USER}=    Set Variable    <user>
   ${PASS}=    Set Variable    <password>

   Open Connection    ${HOST}
   Login    ${USER}    ${PASS}    delay=1
   Execute Command    mkdir test-folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant