More information - when cap is attempting to connect net-ssh used is
different for local and remote (wierd since both local and remote are
the same system).
Here it is:
[root]# cap deploy:setup
[DEPRECATION] Capistrano.configuration is deprecated. Use
Capistrano::Configuration.instance instead
* executing `deploy:setup'
* executing "umask 02 && mkdir -
servers: ["uhostname"]
D, [2008-06-01T23:12:12.009131 #17527] DEBUG --
net.ssh.transport.session[..fdbfb7c00]: establishing connection to
uhostname:22
D, [2008-06-01T23:12:12.024022 #17527] DEBUG --
net.ssh.transport.session[..fdbfb7c00]: connection established
I, [2008-06-01T23:12:12.024328 #17527] INFO --
net.ssh.transport.server_version[..fdbf3b1b0]: negotiating protocol
version
D, [2008-06-01T23:12:12.024466 #17527] DEBUG --
net.ssh.transport.server_version[..fdbf3b1b0]: remote is SSH-2.0-
OpenSSH_3.9p1
D, [2008-06-01T23:12:12.024543 #17527] DEBUG --
net.ssh.transport.server_version[..fdbf3b1b0]: local is SSH-2.0-Ruby/
Net::SSH_2.0.2 i386-linux
connection failed for: uhostname(NotImplementedError: unsupported
encryption algorithm: `arcfour')
Why is the net.ssh.transport server_version different for local and
remote although both remote and local are the same system? How can I
ensure that the remote system also uses the same net-ssh (both local
and remote are physically the same box)
Thanks!
On Jun 1, 12:35 pm, ssmile73 <[EMAIL PROTECTED]> wrote:
> I am new to capistrano. Am trying to execute my first command:
>
> [root]# cap deploy:setup
> [DEPRECATION] Capistrano.configuration is deprecated. Use
> Capistrano::Configuration.instance instead
> * executing `deploy:setup'
> * executing "umask 02 && mkdir -p /u/apps/<appName> /u/apps/
> <appName>/releases /u/apps/<appName>/shared /u/apps/<appName>/shared/
> system /u/apps/<app>/shared/log /u/apps/<app>/shared/pids"
> servers: ["localhost"]
> connection failed for: 107.20.41.6 (NotImplementedError: unsupported
> encryption algorithm: `arcfour')
>
> deploy.rb has same localhost server for all roles (web,db, app). I
> also tried replacing localhost with ipaddress of server and hostname
> of server. But they all give the same arcfour error.
>
> Gems installed on system include:
> net-scp (1.0.1)
> A pure Ruby implementation of the SCP client protocol
>
> net-sftp (2.0.1)
> A pure Ruby implementation of the SFTP client protocol
>
> net-ssh (2.0.2)
> a pure-Ruby implementation of the SSH2 client protocol
>
> net-ssh-gateway (1.0.0)
> A simple library to assist in establishing tunneled Net::SSH
> connections
> capistrano (2.3.0)
> Capistrano is a utility and framework for executing commands in
> parallel on multiple remote machines, via SSH.
>
> Any suggesstion?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---