Re: pscp method (or similar) without public keys?

2011-11-23 Thread yary
On Wed, Nov 23, 2011 at 6:40 AM, Chris Withers ch...@simplistix.co.uk wrote:
 Hi All,

 Is there any way to use tramp to remotely edit files when emacs is running
 on windows and access to the remote hosts is via ssh but with password-based
 authentication rather than public key auth?

Install plink, which is part of the PuTTY suite, somewhere in your
%PATH%, and you'll find that tramp works pretty well. You might need
to change the default connection method. Emacs will ask you for a
password when you open the first buffer to that host.

-y

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


Re: ad-hoc multi-hop editing of remote files

2011-11-23 Thread Chris Withers

Hi Michael,

On 17/11/2011 21:14, Michael Albinus wrote:

http://www.gnu.org/software/tramp/#Obtaining-Tramp

http://www.gnu.org/software/tramp/#Installation


Okay, I gave 2.2.4-pre (ie: CVS trunk) a go following the above 
instructions.


With ido-mode enabled, I got:

apply: Args out of range: /sudo:root@, 26, 11

...part way through typing a path.

I turned ido-mode off, and then typed a full path:

/ssh:transituser@remotehost|sudo:user@remotehost:~/

...before hitting tab, which, for each hit of tab, dumped the following 
two lines:


Tramp: Opening connection for transituser@remotehost using sudo...done
Tramp: Opening connection for transituser@remotehost using sudo...done

I then changed ~/ to a specific file path that didn't exist, but tramp 
then just sat spinning with:


Tramp: opening connection for user@remotehost using sudo...

...until I git C-G to cancel.

Any ideas?

Chris

--
Simplistix - Content Management, Batch Processing  Python Consulting
- http://www.simplistix.co.uk

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


Re: ad-hoc multi-hop editing of remote files

2011-11-23 Thread Michael Albinus
Chris Withers ch...@simplistix.co.uk writes:

 Hi Michael,

Hi,

 Okay, I gave 2.2.4-pre (ie: CVS trunk) a go following the above
 instructions.

 With ido-mode enabled, I got:

 apply: Args out of range: /sudo:root@, 26, 11

 ...part way through typing a path.

I haven't tested it with ido (yet). Will do.

 I turned ido-mode off, and then typed a full path:

 /ssh:transituser@remotehost|sudo:user@remotehost:~/

 ...before hitting tab, which, for each hit of tab, dumped the
 following two lines:

 Tramp: Opening connection for transituser@remotehost using sudo...done
 Tramp: Opening connection for transituser@remotehost using sudo...done

 I then changed ~/ to a specific file path that didn't exist, but tramp
 then just sat spinning with:

 Tramp: opening connection for user@remotehost using sudo...

 ...until I git C-G to cancel.

 Any ideas?

The usual medicine:

(setq tramp-verbose 10)

Send the Tramp debug buffer after running the test.

 Chris

Best regards, Michael.

PS: you might apply cvs up from time to time. I'm still working on
this; yesterday evening I've applied a patch for method / user name /
host name completion.

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


Re: ad-hoc multi-hop editing of remote files

2011-11-23 Thread Michael Albinus
Chris Withers ch...@simplistix.co.uk writes:

 /ssh:transituser@remotehost|sudo:user@remotehost:~/

 I think my mistake is that I should have typed:

 /ssh:transituser@remotehost|sudo:user@localhost:~/

Nope. sudo:user@remotehost is correct.

 So, doing this, I can open, edit and save files in the home directory
 of the user but, in a folder where there were sub-folders, tramp found
 none... I've included the tramp debug log for I hit tab in the folder
 onwards at the end of this message.

This not enough, sorry. Please apply M-x tramp-cleanup-all-connections
first (or start a new Emacs), before running the test. I need the *full*
buffer then, in order to check whether it has connected correctly. If
you do not want to publish it publicly, you could send it to me off-list.

 Yep, I only checked out an hour or so ago. Once I cvs up, do I need to
 re-run autoconf? re-make? etc?

For the kind of changes I commit these days, a simple make shall be sufficient.
If a recall of autoconf or configure is needed, make shall do the proper
steps.

 cheers,

 Chris

Best regards, Michael.

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


re: tramp doesn't authenticate with Pageant on Emacs 24 + Windows?

2011-11-23 Thread George Oliver
hi,

I think I've figured this out. The problem was I hadn't filled in the
username in the auto-login feature of Putty. While this doesn't matter for
Putty's connection and Pageant authentication, it does seem to matter for
Tramp.

Not sure if this is a bug or not, but with autologin filled in Tramp is now
working OK.
___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel