#---- CUT HERE -------------------------------------- require 'net/ssh'Net::SSH.start('your-server-here', 'your-user-name-here', :verbose => :debug) do |ssh|
puts ssh.exec!("hostname")
end
#---- CUT HERE --------------------------------------I'm assuming you'll get the same error, but that you'll also get a more useful stacktrace out of it. Could you email the full output of that to me?
Thanks, Jamis On Sep 5, 2008, at 7:24 AM, Florian Odronitz wrote:
Hi, I would like to set up Capistrano but it fails at the most simple task: The capfile: ___ ssh_options[:verbose] = :debug role :list, "cymo" task :config_list do run "ls /" end ___ The transcript: ___fab4.nmr.mpibpc.mpg.de:/fab4/db_scripts/cymo_deploy % cap -d config_list* executing `config_list' * executing "ls /" Preparing to execute command: "ls /" Execute ([Yes], No, Abort) ? |y| servers: ["cymo"] D, [2008-09-05T14:30:22.003766 #8360] DEBUG -- net.ssh.transport.session[b679c0]: establishing connection to cymo:22 D, [2008-09-05T14:30:22.105717 #8360] DEBUG -- net.ssh.transport.session[b679c0]: connection established I, [2008-09-05T14:30:22.105936 #8360] INFO -- net.ssh.transport.server_version[b670ce]: negotiating protocol version D, [2008-09-05T14:30:22.110642 #8360] DEBUG -- net.ssh.transport.server_version[b670ce]: remote is `SSH-2.0- OpenSSH_4.3p2 Debian-8ubuntu1' D, [2008-09-05T14:30:22.110829 #8360] DEBUG -- net.ssh.transport.server_version[b670ce]: local is `SSH-2.0-Ruby/ Net::SSH_2.0.4 powerpc-darwin8.11.0' D, [2008-09-05T14:30:22.113574 #8360] DEBUG -- tcpsocket[b67678]: read 704 bytes D, [2008-09-05T14:30:22.114150 #8360] DEBUG -- tcpsocket[b67678]: received packet nr 0 type 20 len 700 I, [2008-09-05T14:30:22.114475 #8360] INFO -- net.ssh.transport.algorithms[b669ee]: got KEXINIT from server I, [2008-09-05T14:30:22.115076 #8360] INFO -- net.ssh.transport.algorithms[b669ee]: sending KEXINIT D, [2008-09-05T14:30:22.115999 #8360] DEBUG -- tcpsocket[b67678]: queueing packet nr 0 type 20 len 508 D, [2008-09-05T14:30:22.116381 #8360] DEBUG -- tcpsocket[b67678]: sent 512 bytes I, [2008-09-05T14:30:22.116586 #8360] INFO -- net.ssh.transport.algorithms[b669ee]: negotiating algorithms D, [2008-09-05T14:30:22.117446 #8360] DEBUG -- net.ssh.transport.algorithms[b669ee]: negotiated: * kex: diffie-hellman-group-exchange-sha1 * host_key: ssh-rsa * encryption_server: aes128-cbc * encryption_client: aes128-cbc * hmac_client: hmac-sha1 * hmac_server: hmac-sha1 * compression_client: none * compression_server: none * language_client: * language_server: D, [2008-09-05T14:30:22.117657 #8360] DEBUG -- net.ssh.transport.algorithms[b669ee]: exchanging keys D, [2008-09-05T14:30:22.118571 #8360] DEBUG -- tcpsocket[b67678]: queueing packet nr 1 type 34 len 20 D, [2008-09-05T14:30:22.118932 #8360] DEBUG -- tcpsocket[b67678]: sent 24 bytes D, [2008-09-05T14:30:22.160803 #8360] DEBUG -- tcpsocket[b67678]: read 152 bytes D, [2008-09-05T14:30:22.161466 #8360] DEBUG -- tcpsocket[b67678]: received packet nr 1 type 31 len 148 D, [2008-09-05T14:30:22.195166 #8360] DEBUG -- tcpsocket[b67678]: queueing packet nr 2 type 32 len 140 D, [2008-09-05T14:30:22.195591 #8360] DEBUG -- tcpsocket[b67678]: sent 144 bytes D, [2008-09-05T14:30:22.203113 #8360] DEBUG -- tcpsocket[b67678]: read 720 bytes D, [2008-09-05T14:30:22.203594 #8360] DEBUG -- tcpsocket[b67678]: received packet nr 2 type 33 len 700 connection failed for: cymo (RuntimeError: Unsupported digest algorithm ().) ___ I am not sure if the problem springs from a miscommunication between ssh and sshd since logging in from the console works without problem (with password and public key authentication). Any suggestions on this are appreciated. Thanx, odo --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
smime.p7s
Description: S/MIME cryptographic signature
