Can not use Putty as an SSH client with RHC
Issue
- I can not use putty as an SSH Client with RHC.
- When trying to use putty as an SSH client with RHC I get the following error:
C:\User\User>rhc ssh --ssh 'C:\Program Files (x86)\PuTTY\putty.exe' APP_NAME
SSH executable 'C:\Program' does not exist.
- I also get the this error when trying to execute the exe directly
C:\Program Files (x86)\PuTTY>rhc ssh chatter --ssh putty.exe
Password: *********
Connecting to GEAR_UUID@APP_NAME-NAMESPACE.rhcloud.com ...
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.16.9/lib/rhc/commands/ssh.rb:44:in `exec': No such file or directory - putty.exe (Errno::ENOENT)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.16.9/lib/rhc/commands/ssh.rb:44:in `run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.16.9/lib/rhc/commands.rb:285:in `execute'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.16.9/lib/rhc/commands.rb:276:in `block (3 levels) in to_commander'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/command.rb:180:in `call'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/command.rb:180:in `call'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/command.rb:155:in `run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/runner.rb:402:in `run_active_command'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.16.9/lib/rhc/command_runner.rb:73:in `run!'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/delegates.rb:11:in `run!'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.16.9/lib/rhc/cli.rb:37:in `start'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.16.9/bin/rhc:20:in `<top(required)>'
from C:/Ruby193/bin/rhc:23:in `load'
from C:/Ruby193/bin/rhc:23:in `<main>'
Environment
- Red Hat OpenShift Online
- Windows (Developer Station)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
