BTW: Emacs 23 on Mac OS X with tramp-version is a variable defined in `trampver.el'. Its value is "2.1.15"
Documentation: This version of Tramp. On Thu, Jun 17, 2010 at 8:14 PM, Michael Albinus <[email protected]> wrote: > Vinh Nguyen <[email protected]> writes: > >> Michael: > > Hi Vinh, > >> (require 'tramp) >> (setq tramp-default-method "ssh") >> ;; do C-x f, /usern...@server:~/ >> (setcdr (assoc 'tramp-remote-sh (assoc "ssh" tramp-methods)) '("/bin/bash")) > > Have you set the last line *before* you have opened your files? The > comment indicates another order ... > yea, i did. the comment is there to remind me how to edit files remotely that's all :) >> The above does not work. Appears to still be using /bin/sh. Any >> other suggestions? > > Could you, please, apply (setq tramp-verbose 6) and show the traces > after opening the connection? I would also like to see the value of > `tramp-methods'. > Here is what's in *debug tramp/ssh ... *: 20:20:26 tramp-maybe-open-connection (3) # Opening connection for MASK using ssh... 20:20:26 tramp-maybe-open-connection (6) # /bin/sh 20:20:26 tramp-maybe-open-connection (3) # Waiting 60s for local shell to come up... 20:20:26 tramp-wait-for-regexp (6) # $ 20:20:26 tramp-maybe-open-connection (3) # Sending command `ssh MASK -l MASKn -q -e none && exit || exit' 20:20:26 tramp-send-command (6) # ssh MASK -l MASK -q -e none && exit || exit 20:20:26 tramp-process-actions (3) # Waiting for prompts from remote shell 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*: 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|Sorry, try again\.\|Tramp connection closed\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\( \[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Call `tramp-action-process-alive' 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*: ... 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|Sorry, try again\.\|Tramp connection closed\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 20:20:27 tramp-process-one-action (5) # Call `tramp-action-succeed' 20:20:27 tramp-process-actions (6) # ... ///96b3ba6b8ac58c2dbc13dc2ab7dd1d51 20:20:39 tramp-send-command (6) # cd /home/vqnguyen/ 20:20:39 tramp-wait-for-regexp (6) # ///96b3ba6b8ac58c2dbc13dc2ab7dd1d51 20:20:39 tramp-send-command (6) # /bin/sh -c convert2avi\ ContObservational.nodes.out </dev/null 20:20:40 tramp-wait-for-regexp (6) # /bin/sh: convert2avi: command not found >> vinh > > Best regards, Michael. > _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
