From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: help with sftp
Date: Sat, 06 Apr 2013 11:21:09 +0300 [thread overview]
Message-ID: <83hajkdq8a.fsf@gnu.org> (raw)
In-Reply-To: <38e28697-28a7-4daf-bb2b-77a1a50cd827@googlegroups.com>
> Date: Fri, 5 Apr 2013 05:29:32 -0700 (PDT)
> From: olastro@gmail.com
>
> I've tried all. But of course not the solution.
>
> I'm trying to use sftp in this installation
> GNU Emacs 24.3.1 (i386-mingw-nt5.1.2600) of 2013-03-17 on MARVIN
>
> - tried to make ssh keys (cant find a proper 'ls' command)
> - tried with cygwin ("ssh_askpass" could not be found)
> - mappes server as drive with ExpanDrive (cant reach directories outside home-dir)
>
>
> Anyone out there with a plain explanation of how to do things? Would be great if its from scratch, seems like I need the teaspoon method.
>
> GOAL:
> connect to an server (actually two different) with SFTP and edit files. As simple as that.
Start by installing PuTTY, which includes psftp.exe.
Then use puttygen.exe from the PuTTY package to generate keys. The
procedure is explained in detail in the PuTTY Help, under "Using
public keys for SSH authentication". When you have the keys, you will
need to configure the servers to accept your public key -- this is
also described in the PuTTY Help.
Then configure PuTTY for connecting to both servers, by logging once
into each one of the servers with putty and answering YES to PuTTY's
question of whether to accept the server's host key.
Thereafter, you should be able to use psftp via Tramp. It is
advisable to launch Pageant (part of PuTTY) when your computer starts,
and add your key(s) to it, so that all the authentications after that
will be automatic and won't ask you to type your passphrase for each
login.
next prev parent reply other threads:[~2013-04-06 8:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-05 12:29 help with sftp olastro
2013-04-06 8:05 ` Jean Magnan de Bornier
2013-04-07 3:57 ` J. David Boyd
2013-04-06 8:21 ` Eli Zaretskii [this message]
2013-04-06 8:34 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83hajkdq8a.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).