help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] ssh2


From: Stephen Leake
Subject: Re: [h-e-w] ssh2
Date: 08 Mar 2002 09:52:39 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Benjamin Riefenstahl <address@hidden> writes:

> Hi Richard,
> 
> 
> "Richard M. Heiberger" <address@hidden> writes:
> > I need it to use pcl-cvs with a server that runs ssh2, not ssh.
> > The cygwin ssh-agent doesn't understand the passphrase that ssh2 uses.
> 
> ??  According to the manual the OpenSSH ssh-agent in Cygwin supports
> SSH2 just fine.  If it doesn't work for you, you probably want to ask
> at the Cygwin or the OpenSSH groups.

Right; I'm using Cygwin with SSH version 2 servers just fine.

> > I believe the difficulty is a consequence of ntemacs and cygwin
> > bash not treating the *shell* buffer as a tty.
> 
> The version of the SSH protocol wouldn't make a difference for that,
> I'd think.

Also right. However, on Debian Linux, ssh will prompt for a passphrase
when running under Emacs. So something is different under NT/Cygwin.

Here's how I start up Emacs to use ssh on Windows NT:

bash $ ssh-agent bash
bash $ ssh-add
        <provide passphrase>
bash $ emacs &

Now emacs subprocesses can use ssh without needing to prompt for
passwords. Of course, when I installed ssh, I did ssh-keygen, and
copied the .ssh/identity.pub to the servers I want to talk to.

Works great.

-- 
-- Stephe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]