Terminals icon indicating copy to clipboard operation
Terminals copied to clipboard

SSH connection not working in v4.0.1

Open jlanzarotta opened this issue 8 years ago • 6 comments

I am having an issue with v4.0.1 and an SSH connection. When I attempt to connect I get:

Sorry, Terminals was unable to connect to the remote machine.  Try again, or check the log for more information.

Details:
Object reference not set to an instance of an object.

The log file looks like this:

FATAL 2017-08-16 09:15:11,408 52718ms Terminals              Connect            - Connecting to unknown Connection
System.NullReferenceException: Object reference not set to an instance of an object.
   at SSHClient.Protocol.Connect(Socket s)
   at Terminals.Connections.TerminalConnection.ConfigureSshConnection(IGuardedSecurity security)
   at Terminals.Connections.TerminalConnection.Connect()

My SSH connection is using "Password".

Any ideas?

jlanzarotta avatar Aug 16 '17 13:08 jlanzarotta

Same Version, same problem

Pafzedog avatar Nov 02 '17 15:11 Pafzedog

I get the same error if I don't save a password before connect to the machine.

bandoleritoz avatar Jan 21 '18 05:01 bandoleritoz

You need to create a ssh key at first

kentzjh avatar May 25 '18 03:05 kentzjh

same problem here - connection is set to password, generating ssh key doesnt change anything - and why do i need a ssh key when the hosts doesnt support that and is set to password and i dont want to save the password ?

unficyp avatar Jul 26 '18 11:07 unficyp

Same problem here..

aswzen avatar Apr 17 '20 16:04 aswzen

I had the same issue , resolved it like this :

  1. set your username & pass
  2. Change SSH options to "Password" image

peera1 avatar Jul 28 '22 05:07 peera1