SSHException: Channel closed











up vote
0
down vote

favorite












I am using following code connect the RC (windows server) server via SSH library. when I am trying to execute command,



*** Settings ***
Library OperatingSystem
Library SSHLibrary

*** Test Cases ***
Test
SSHLibrary.Open Connection 10.117.207.225 alias=ssh
SSHLibrary.Login reutadmin Reuters01 delay=1s
${stdout} ${stderr}= Execute Command echo 'Hello John!' return_stderr=True
Should Be Empty ${stderr}
log ${stderr}


Getting the following Error. Can you please help me on this case:



enter image description here channel connection closed:enter image description here










share|improve this question
























  • This error message means that the remote machine has closed the connection. You might have a look at any logs/messages on that machine, in order to understand why.
    – Dominique
    Nov 20 at 15:45










  • Hi Dominique, I am getting the following error in the server side. The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: error: do_exec_no_pty: fork: Resource temporarily unavailable
    – Sakthikumaran R
    Nov 20 at 16:15












  • I am getting the this information as well , The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: Accepted password for reutadmin from 11.31.211.138 port 56826 ssh2
    – Sakthikumaran R
    Nov 20 at 16:20















up vote
0
down vote

favorite












I am using following code connect the RC (windows server) server via SSH library. when I am trying to execute command,



*** Settings ***
Library OperatingSystem
Library SSHLibrary

*** Test Cases ***
Test
SSHLibrary.Open Connection 10.117.207.225 alias=ssh
SSHLibrary.Login reutadmin Reuters01 delay=1s
${stdout} ${stderr}= Execute Command echo 'Hello John!' return_stderr=True
Should Be Empty ${stderr}
log ${stderr}


Getting the following Error. Can you please help me on this case:



enter image description here channel connection closed:enter image description here










share|improve this question
























  • This error message means that the remote machine has closed the connection. You might have a look at any logs/messages on that machine, in order to understand why.
    – Dominique
    Nov 20 at 15:45










  • Hi Dominique, I am getting the following error in the server side. The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: error: do_exec_no_pty: fork: Resource temporarily unavailable
    – Sakthikumaran R
    Nov 20 at 16:15












  • I am getting the this information as well , The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: Accepted password for reutadmin from 11.31.211.138 port 56826 ssh2
    – Sakthikumaran R
    Nov 20 at 16:20













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am using following code connect the RC (windows server) server via SSH library. when I am trying to execute command,



*** Settings ***
Library OperatingSystem
Library SSHLibrary

*** Test Cases ***
Test
SSHLibrary.Open Connection 10.117.207.225 alias=ssh
SSHLibrary.Login reutadmin Reuters01 delay=1s
${stdout} ${stderr}= Execute Command echo 'Hello John!' return_stderr=True
Should Be Empty ${stderr}
log ${stderr}


Getting the following Error. Can you please help me on this case:



enter image description here channel connection closed:enter image description here










share|improve this question















I am using following code connect the RC (windows server) server via SSH library. when I am trying to execute command,



*** Settings ***
Library OperatingSystem
Library SSHLibrary

*** Test Cases ***
Test
SSHLibrary.Open Connection 10.117.207.225 alias=ssh
SSHLibrary.Login reutadmin Reuters01 delay=1s
${stdout} ${stderr}= Execute Command echo 'Hello John!' return_stderr=True
Should Be Empty ${stderr}
log ${stderr}


Getting the following Error. Can you please help me on this case:



enter image description here channel connection closed:enter image description here







python robotframework






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 at 17:49









Bryan Oakley

211k21249412




211k21249412










asked Nov 20 at 15:33









Sakthikumaran R

11




11












  • This error message means that the remote machine has closed the connection. You might have a look at any logs/messages on that machine, in order to understand why.
    – Dominique
    Nov 20 at 15:45










  • Hi Dominique, I am getting the following error in the server side. The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: error: do_exec_no_pty: fork: Resource temporarily unavailable
    – Sakthikumaran R
    Nov 20 at 16:15












  • I am getting the this information as well , The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: Accepted password for reutadmin from 11.31.211.138 port 56826 ssh2
    – Sakthikumaran R
    Nov 20 at 16:20


















  • This error message means that the remote machine has closed the connection. You might have a look at any logs/messages on that machine, in order to understand why.
    – Dominique
    Nov 20 at 15:45










  • Hi Dominique, I am getting the following error in the server side. The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: error: do_exec_no_pty: fork: Resource temporarily unavailable
    – Sakthikumaran R
    Nov 20 at 16:15












  • I am getting the this information as well , The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: Accepted password for reutadmin from 11.31.211.138 port 56826 ssh2
    – Sakthikumaran R
    Nov 20 at 16:20
















This error message means that the remote machine has closed the connection. You might have a look at any logs/messages on that machine, in order to understand why.
– Dominique
Nov 20 at 15:45




This error message means that the remote machine has closed the connection. You might have a look at any logs/messages on that machine, in order to understand why.
– Dominique
Nov 20 at 15:45












Hi Dominique, I am getting the following error in the server side. The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: error: do_exec_no_pty: fork: Resource temporarily unavailable
– Sakthikumaran R
Nov 20 at 16:15






Hi Dominique, I am getting the following error in the server side. The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: error: do_exec_no_pty: fork: Resource temporarily unavailable
– Sakthikumaran R
Nov 20 at 16:15














I am getting the this information as well , The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: Accepted password for reutadmin from 11.31.211.138 port 56826 ssh2
– Sakthikumaran R
Nov 20 at 16:20




I am getting the this information as well , The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: sshd: PID 5476: Accepted password for reutadmin from 11.31.211.138 port 56826 ssh2
– Sakthikumaran R
Nov 20 at 16:20

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53396406%2fsshexception-channel-closed%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53396406%2fsshexception-channel-closed%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Feedback on college project

Futebolista

Albești (Vaslui)