[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

[Sop.Tec.LinuxPPP] Re: cliente de ssh



Por si a alguién le llegara a pasar...


Mi problema de cliente de ssh que llamaba a ssh-askpass se resolvió
me encontré a alguien con el mismo problema, le escribí y lo que sigue
es la respuesta.

Saludos
SBC

============================================================

Good thing you asked.  I finally found the answer buried in a Gentoo mailing
list:

http://www.elvisdieguez.us/docs/Gentoo/user-mailingList/msg11356.html:
   Make sure that /dev/tty has group and world write permissions, i.e.

   chmod ga+w /dev/tty

   ssh needs to write to this device when it makes a connection, which is why
   it works as root and not as a regular user (or that's my guess, at
   least).

   Also, as a troubleshooting hint, if you "emerge strace" and then try "strace
   ssh -l username host", you should see ssh try to open /dev/tty with
   read/write access and watch it get a "Permission denied".

   Good luck,
   Allyn

Please let me know if that helps.

Cheers,

Peter


On Thu, Aug 07, 2003 at 11:21:07AM -0500, Sergio Bernal Calzada wrote:

Date: Thu, 07 Aug 2003 11:21:07 -0500
From: Sergio Bernal Calzada
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
To: peterb ucar edu
Subject: Secure Shell same problem

Hi Peter,


I found your message
http://www.securityfocus.com/archive/121/280406/2002-07-02/2002-07-08/2

I have this problem

Did you resolve it?  How?


Thanks

Sergio Bernal

--
Peter Burkholder, System Administrator
Digital Library for Earth System Education (DLESE -- http://www.dlese.org)
peterb ucar edu
DLESE Program Center (DPC)                               ~~~  ~~  ~~~~   __o
UCAR/DPC, P.O. Box 3000       Ph) +1-303-497-2663      ~~~  ~~~~ ~~    _`\<,_
Boulder, CO 80307-3000        Fx) +1 303-497-8336 ~~~~ ~~~   ~~~~     (*)/ (*)


============================================================


Sergio Bernal Calzada wrote:
Que tal lista,

Tengo un problema, al ejecutar

$ ssh usuariomortal@maquina_repota

desde una terminal (xterm), manda a llamar a ssh-askpass

alguna idea de por que se esta llamando a ssh-askpass, en lugar de darme el prompt del password en la terminal??



Cuando lo hago

$ ssh usuariomortal@maquina_remota

desde la consola (si tener X), automaticamente me manda los mensajes de:

Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).

como si el password fuera erroneo.


esto pasa cuando lo hago un un usuario mortal (no root), pero si lo hago desde root todo es felicidad y me manda el prompt en la terminal.



De antemano, gracias.
Saludos
SergioBC



--
Lista de soporte de LinuxPPP
Dirección email: Linux en linuxppp com
Dirección web: http://mail.linuxppp.com/mailman/listinfo/linux
Reglas de la lista: http://linuxppp.net/reglas.html



[Hilos de Discusión] [Fecha] [Tema] [Autor]