Do you have anything in ~/.ssh/config? Or ~/.caprc? Any chance you could show more of your capfile and deploy.rb?
- Jamis On 12/15/08 12:57 PM, Yevgeny wrote: > My app sits in /home/users/rails-app-user/rails. Both 'user' variables > are set to 'rails-app-user' in deploy.rb: > ssh_options[:username] = 'rails-app-user' > set :user, "rails-app-user". > > > But Capistrano 2.5.3 keeps using my local username to log into the > server. [OS X Leopard, 10.5.5.] > > D, [2008-12-15T22:53:32.245418 #51066] DEBUG -- > net.ssh.transport.session[cef0a4]: establishing connection to [remote- > host-ip:port] > D, [2008-12-15T22:53:32.390184 #51066] DEBUG -- > net.ssh.transport.session[cef0a4]: connection established > I, [2008-12-15T22:53:32.390872 #51066] INFO -- > net.ssh.transport.server_version[ceebea]: negotiating protocol version > D, [2008-12-15T22:53:32.539237 #51066] DEBUG -- > net.ssh.transport.server_version[ceebea]: remote is `SSH-2.0- > OpenSSH_4.7p1 Debian-8ubuntu1.2' > D, [2008-12-15T22:53:32.539456 #51066] DEBUG -- > net.ssh.transport.server_version[ceebea]: local is `SSH-2.0-Ruby/ > Net::SSH_2.0.6 universal-darwin9.0' > D, [2008-12-15T22:53:32.685613 #51066] DEBUG -- tcpsocket[ceed66]: > read 784 bytes > D, [2008-12-15T22:53:32.685897 #51066] DEBUG -- tcpsocket[ceed66]: > received packet nr 0 type 20 len 780 > I, [2008-12-15T22:53:32.686059 #51066] INFO -- > net.ssh.transport.algorithms[cee92e]: got KEXINIT from server > I, [2008-12-15T22:53:32.686368 #51066] INFO -- > net.ssh.transport.algorithms[cee92e]: sending KEXINIT > D, [2008-12-15T22:53:32.686848 #51066] DEBUG -- tcpsocket[ceed66]: > queueing packet nr 0 type 20 len 508 > D, [2008-12-15T22:53:32.687065 #51066] DEBUG -- tcpsocket[ceed66]: > sent 512 bytes > I, [2008-12-15T22:53:32.687201 #51066] INFO -- > net.ssh.transport.algorithms[cee92e]: negotiating algorithms > D, [2008-12-15T22:53:32.687746 #51066] DEBUG -- > net.ssh.transport.algorithms[cee92e]: 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-12-15T22:53:32.687895 #51066] DEBUG -- > net.ssh.transport.algorithms[cee92e]: exchanging keys > D, [2008-12-15T22:53:32.688327 #51066] DEBUG -- tcpsocket[ceed66]: > queueing packet nr 1 type 34 len 20 > D, [2008-12-15T22:53:32.688530 #51066] DEBUG -- tcpsocket[ceed66]: > sent 24 bytes > D, [2008-12-15T22:53:33.019319 #51066] DEBUG -- tcpsocket[ceed66]: > read 152 bytes > D, [2008-12-15T22:53:33.020493 #51066] DEBUG -- tcpsocket[ceed66]: > received packet nr 1 type 31 len 148 > D, [2008-12-15T22:53:33.050210 #51066] DEBUG -- tcpsocket[ceed66]: > queueing packet nr 2 type 32 len 140 > D, [2008-12-15T22:53:33.050701 #51066] DEBUG -- tcpsocket[ceed66]: > sent 144 bytes > D, [2008-12-15T22:53:33.210030 #51066] DEBUG -- tcpsocket[ceed66]: > read 720 bytes > D, [2008-12-15T22:53:33.210440 #51066] DEBUG -- tcpsocket[ceed66]: > received packet nr 2 type 33 len 700 > D, [2008-12-15T22:53:33.241823 #51066] DEBUG -- tcpsocket[ceed66]: > queueing packet nr 3 type 21 len 20 > D, [2008-12-15T22:53:33.242167 #51066] DEBUG -- tcpsocket[ceed66]: > sent 24 bytes > D, [2008-12-15T22:53:33.242546 #51066] DEBUG -- tcpsocket[ceed66]: > received packet nr 3 type 21 len 12 > D, [2008-12-15T22:53:33.243195 #51066] DEBUG -- > net.ssh.authentication.session[cb9a3a]: beginning authentication of ` > [local-username]' > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
