ssh reads passphrase then just hangs
Paul Kelly
Paul.Kelly@division.co.uk
Tue Nov 10 06:43:00 GMT 1998
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
ÃÂ
More information about the Cygwin
mailing list