Ssh is not recognized as an internal or external command, operable program or batch file

When in ssh, CMD+L or clear do not clear the contents. Instead the cursor jumps to the top most position as expected, but all previous contents are still visible.

I mean that´s an old issue, when is this finally going to be fixed. That issue makes Hyper unusable, as for me, I use only ssh.

    -
    Hyper 1.4.8
    Electron 1.7.8
    win32 x64 10.0.15063

(JIRA)

unread,

Nov 7, 2012, 1:58:41 AM11/7/12

to

(JIRA)

unread,

Nov 7, 2012, 3:25:41 AM11/7/12

to

Ssh is not recognized as an internal or external command, operable program or batch file

(JIRA)

unread,

Nov 7, 2012, 3:54:41 AM11/7/12

to

Ssh is not recognized as an internal or external command, operable program or batch file

Change By: Jerry Maloney (06/Nov/12 7:54 PM)
Status: Open In Progress

(JIRA)

unread,

May 10, 2013, 3:44:57 AM5/10/13

to

Ssh is not recognized as an internal or external command, operable program or batch file

Is this pull request scheduled for inclusion in a release of the plugin?

Thanks,
– Jerry

(JIRA)

unread,

Jul 19, 2013, 10:17:45 PM7/19/13

to

Ssh is not recognized as an internal or external command, operable program or batch file

Same problem here!

Is there a workaround or a fix in an upcoming version?

Currently running jenkins 1.523 with ssh-slave-plugin 0.27 in a bitnami virtualbox VM. Connection to linux 32/64bit and MacOS via ssh works perfect. Connections to WinXp and Win8 running Bitvise SSH server yield:

[07/19/13 14:14:29] [SSH] Opening SSH connection to itchy.imp.fu-berlin.de:22.

[07/19/13 14:14:29] [SSH] Authentication successful.
SSH connection reports a garbage before a command execution.
Check your .bashrc, .profile, and so on to make sure it is quiet.
The received junk text is as follows:
'true' is not recognized as an internal or external command,
operable program or batch file.

hudson.AbortException
at hudson.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(SSHLauncher.java:613)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:490)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
[07/19/13 14:14:29] [SSH] Connection closed.

Has some any ideas how to debug? Command execution via ssh on the command line (bash) from a linux maschine to WinXp and Win8 boxes work without any garbage returned.

Cheers
McMenace

(JIRA)

unread,

Jul 19, 2013, 10:19:45 PM7/19/13

to

Ssh is not recognized as an internal or external command, operable program or batch file

Is there a workaround or a fix in an upcoming version?

Currently running jenkins 1.523 with ssh-slave-plugin 0.27 in a bitnami virtualbox VM. Connection to linux 32/64bit and MacOS via ssh works perfect. Connections to WinXp and Win8 running Bitvise SSH server yield:

[07/19/13 14:14:29] [SSH] Opening SSH connection to itchy.imp.fu-berlin.de:22.

[07/19/13 14:14:29] [SSH] Authentication successful.
SSH connection reports a garbage before a command execution.
Check your .bashrc, .profile, and so on to make sure it is quiet.
The received junk text is as follows:
'true' is not recognized as an internal or external command,
operable program or batch file.

hudson.AbortException
at hudson.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(SSHLauncher.java:613)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:490)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
[07/19/13 14:14:29] [SSH] Connection closed.

Has some any ideas how to debug? Command execution via ssh on the command line (bash) from a linux maschine to WinXp and Win8 boxes work without any garbage returned.

Cheers
McMenace

ps: If I can help or anyone needs more information please let me know.

(JIRA)

unread,

Jul 22, 2013, 9:33:47 PM7/22/13

to

Ssh is not recognized as an internal or external command, operable program or batch file

mcmenace, I am not sure what the process is here. My pull request was accepted, but somehow it seems like it's not in the finished product. I guess I'll go knock on their door again.

In the meantime, if you pull the source code for the plugin and make the same change I did, you can compile your own plugin and use that. That's what I've been doing.

– Jerry

(JIRA)

unread,

Aug 6, 2013, 1:55:47 AM8/6/13

to

Ssh is not recognized as an internal or external command, operable program or batch file

How do I enable SSH on Windows?

Open Settings, select Apps, then select Optional Features. Scan the list to see if the OpenSSH is already installed. If not, at the top of the page, select Add a feature, then: Find OpenSSH Client, then select Install.

How do you fix where is not recognized as an internal or external command operable program or batch file?

You can resolve this issue in three ways: First, use the full path of the executable file to launch the program. Second, add the program path to Windows environment variables. Finally, move the files to the System32 folder.

How do I enable SSH on my laptop?

Open the START menu and open Manage optional features: Select Add a feature: Search for SSH and install both the OpenSSH Client and the OpenSSH Server: Restart your machine (or sign out and in again) to automatically add the set of SSH commands to your PATH environment variable.

Can I use command prompt to SSH?

You can start an SSH session in your command prompt by executing ssh user@machine and you will be prompted to enter your password. You can create a Windows Terminal profile that does this on startup by adding the commandline setting to a profile in your settings.