This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
ssh reads passphrase then just hangs
- To: <gnu-win32 at cygnus dot com>
- Subject: ssh reads passphrase then just hangs
- From: "Paul Kelly" <Paul dot Kelly at division dot co dot uk>
- Date: Mon, 9 Nov 1998 23:02:35 -0000
Hi,
I was hoping that someone could cast some light on my
ssh misery.
I wish to connect to one of my freeBSD servers via ssh
from a NT environment so I installed B20 onto my NT server/SP4
box.
I ran mkpasswd and mkgroup to create the
relevant /etc/ files.
I then downloaded and extracted
ssh-1.2.26-cygwinb20.tar.bz2 from Sergey
Okhapkin excellent site.
Setting CYGWIN to " tty" and I tried
to run ssh-agent. This fails with
Bad
modes or owner for directory '/tmp/ssh-pik'
echo Agent creation failed, no
agent started
but ls -l /tmp gives
total
0
drwxrwxrwx 1 Administrators
None
0 Nov 9 05:24 ssh-pik
or
after I chown it:-
total
0
drwxrwxrwa 1
pik
None
0 Nov 9 05:24 ssh-pik
O.K. I
say I can do it by hand so I just run ssh1 -v sol and I
get
SSH
Version 1.2.26 [i586-pc-cygwin32], protocol version 1.5.
Standard
version. Does not use RSAREF.
KELLY: ssh_connect: getuid 1001 geteuid
1001 anon 1
KELLY: Connecting to sol [194.223.245.192] port 22.
KELLY:
Connection established.
KELLY: Remote protocol version 1.5, remote software
version 1.2.26
KELLY: Waiting for server public key.
KELLY: Received
server public key (768 bits) and host key (1024 bits).
KELLY: Host 'sol' is
known and matches the host key.
KELLY: Initializing random; seed file
//h//.ssh/random_seed
KELLY: Encryption type: idea
KELLY: Sent encrypted
session key.
KELLY: Installing crc compensation attack detector.
KELLY:
Received encrypted confirmation.
KELLY: No agent.
KELLY: Trying RSA
authentication with key 'pik'
KELLY: Received RSA challenge from
server.
Enter passphrase for RSA key 'pik':
If I now enter the passphrase nothing happens, the
window no longer responds to typing.
I can
recover my prompt with a ctl-brk.
Please could someone point out the foolish mistake
that I have injected into this procedure.
Thanks,
Paul