cloudfoundry-attic / bosh-init

bosh-init is a tool used to create and update the Director VM
Apache License 2.0
31 stars 33 forks source link

"ssh: no common algorithms" problem #33

Closed allomov closed 9 years ago

allomov commented 9 years ago

Hello.

I just get this error using bosh-init:

[main] 2015/06/02 16:27:27 ERROR - Command 'deploy' failed: Deploying: Creating instance 'bosh/0': Waiting until instance is ready: Starting SSH tunnel: Failed to connect to remote server: ssh: handshake failed: ssh: no common algorithms

Command 'deploy' failed:
  Deploying:
    Creating instance 'bosh/0':
      Waiting until instance is ready:
        Starting SSH tunnel:
          Failed to connect to remote server:
            ssh: handshake failed: ssh: no common algorithms

Some time ago I was able to fix this error by adding to /etc/ssh/sshd_config aes128-ctr cipher and hmac-sha1 MAC. I use stemcell with 2905 build number, version of go is go1.4.2 gccgo (GCC) 5.1.0.

The same issue occurred in cf-ssh project and they fixed it by using calling ssh as a system command.

Do you know a way to solve this issue quickly? Do you think that stemcell have to be updated?

allomov commented 9 years ago

Here is a discussion for this issue in golang/go repo.

cppforlife commented 9 years ago

Stemcell 2915 fixes this problem.

allomov commented 9 years ago

@cppforlife thank you.