Mail Archives: cygwin/1998/11/11/02:07:18
This is a multi-part message in MIME format.
------=_NextPart_000_0027_01BE0C35.0A3FDCB0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
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
------=_NextPart_000_0027_01BE0C35.0A3FDCB0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2> I was hoping that someone could cast some =
light on my=20
ssh misery. </FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2> I wish to connect to one of my freeBSD =
servers via ssh=20
from a NT environment so I installed B20 onto my NT server/SP4=20
box.</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN><SPAN class=3D197004422-09111998><FONT =
color=3D#000000=20
face=3DArial size=3D2> I ran mkpasswd and mkgroup to =
create the=20
relevant /etc/ files.</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN><SPAN class=3D197004422-09111998><FONT =
color=3D#000000=20
face=3DArial size=3D2> I then downloaded and extracted =
ssh-1.2.26-cygwinb20.tar.bz2 from <A =
href=3D"mailto:sos AT prospect DOT com DOT ru">Sergey=20
Okhapkin</A> excellent site.</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN><SPAN class=3D197004422-09111998><FONT =
color=3D#000000=20
face=3DArial size=3D2> </FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2> Setting CYGWIN to " tty" and =
I tried=20
to run ssh-agent. This fails with </FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2>Bad=20
modes or owner for directory '/tmp/ssh-pik'<BR>echo Agent creation =
failed, no=20
agent started</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2> but ls -l /tmp gives </FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2>total=20
0<BR>drwxrwxrwx 1 Administrators =20
None &nb=
sp; =20
0 Nov 9 05:24 ssh-pik</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2>or=20
after I chown it:-</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2>total=20
0<BR>drwxrwxrwa 1=20
pik &nbs=
p;=20
None &nb=
sp; =20
0 Nov 9 05:24 ssh-pik</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2>O.K. I=20
say I can do it by hand so I just run ssh1 -v sol </FONT></SPAN><SPAN=20
class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2>and I=20
get</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2>SSH=20
Version 1.2.26 [i586-pc-cygwin32], protocol version 1.5.<BR>Standard=20
version. Does not use RSAREF.<BR>KELLY: ssh_connect: getuid 1001 =
geteuid=20
1001 anon 1<BR>KELLY: Connecting to sol [194.223.245.192] port =
22.<BR>KELLY:=20
Connection established.<BR>KELLY: Remote protocol version 1.5, remote =
software=20
version 1.2.26<BR>KELLY: Waiting for server public key.<BR>KELLY: =
Received=20
server public key (768 bits) and host key (1024 bits).<BR>KELLY: Host =
'sol' is=20
known and matches the host key.<BR>KELLY: Initializing random; seed file =
//h//.ssh/random_seed<BR>KELLY: Encryption type: idea<BR>KELLY: Sent =
encrypted=20
session key.<BR>KELLY: Installing crc compensation attack =
detector.<BR>KELLY:=20
Received encrypted confirmation.<BR>KELLY: No agent.<BR>KELLY: Trying =
RSA=20
authentication with key 'pik'<BR>KELLY: Received RSA challenge from=20
server.<BR>Enter passphrase for RSA key 'pik':</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2> If I now enter the passphrase nothing =
happens, the=20
window no longer responds to typing. </FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2>I can=20
recover my prompt with a ctl-brk.</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2> Please could someone point out the foolish =
mistake=20
that I have injected into this procedure.</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2> Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2> =
Paul</FONT></SPAN></DIV>
<DIV><SPAN class=3D197004422-09111998><FONT color=3D#000000 face=3DArial =
size=3D2></FONT></SPAN> </DIV></BODY></HTML>
------=_NextPart_000_0027_01BE0C35.0A3FDCB0--
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -