Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

password visible in ssh client

 
   Soft32 Home -> Linux -> System Development RSS
Next:  $B%"%a%j%+$N%]!<%+!<%2!<%`(B, $B..  
Author Message
zix

External


Since: Dec 10, 2008
Posts: 15



(Msg. 1) Posted: Fri Aug 28, 2009 1:57 am
Post subject: password visible in ssh client
Archived from groups: comp>os>linux>development>system (more info?)

Hi Everybody,
I am using ssh client on my target box to connect
another machine. I am able to connect, but the password is being shown
on the ssh client when i type the password. The file ssh.c has been
modified here, so I know that the problem can be over there in the
changes...

But can someone point to the circumstances the password is shown, from
terminal perspective? Then I can cross check if that is being done
here...


Thanks and Regards,
zix
Back to top
Login to vote
Rainer Weikusat

External


Since: Apr 02, 2007
Posts: 158



(Msg. 2) Posted: Fri Aug 28, 2009 9:20 am
Post subject: Re: password visible in ssh client [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

zix <zixenus.DeleteThis@gmail.com> writes:
> I am using ssh client on my target box to connect
> another machine. I am able to connect, but the password is being shown
> on the ssh client when i type the password. The file ssh.c has been
> modified here, so I know that the problem can be over there in the
> changes...
>
> But can someone point to the circumstances the password is shown, from
> terminal perspective?

Usually, this would mean that the 'terminal' is configured to echo
input characters (see termios(3), ECHO) even while the password is
being typed.
Back to top
Login to vote
zix

External


Since: Dec 10, 2008
Posts: 15



(Msg. 3) Posted: Mon Sep 07, 2009 7:56 am
Post subject: Re: password visible in ssh client [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Aug 28, 6:26 pm, Rainer Weikusat <rweiku....RemoveThis@mssgmbh.com> wrote:
> zix <zixe....RemoveThis@gmail.com> writes:
> > I am using ssh client on my target box to connect
> > another machine. I am able to connect, but the password is being shown
> > on the ssh client when i type the password. The file ssh.c has been
> > modified here, so I know that the problem can be over there in the
> > changes...
>
> > But can someone point to the circumstances the password is shown, from
> > terminal perspective?
>
> Usually, this would mean that the 'terminal' is configured to echo
> input characters (see termios(3), ECHO) even while the password is
> being typed.


yes, we were doing fgets without disabling the echo in terminal. I
disabled the echo and reenabled after entering password. Its working
fine

Thanks a lot Rainer,
zix
Back to top
Login to vote
Display posts from previous:   
Related Topics:
RFC3971 - Does anyone know if RFC3971 support is being developed for Linux? It does not seem to be implemented in the mainline..

Size 8 bit, 16 bit, 32 bit and 64 bit systems. - I need to find out what is the size of following data structures in 8 bit, 16 bit, 32 bit, and 64 bit systems. struct....

Size 8 bit, 16 bit, 32 bit and 64 bit systems. - I need to find out what is the size of following data structures in 8 bit, 16 bit, 32 bit, and 64 bit systems. struct....

Access shared memory from kernel module - Hi All, I wanted to know if shared memory created in user space can be accessed from a loadable kernel module. Have no...

Controlling UART transmission of bytes - I'm programming an ARM's UART that comes with a library implementing the standard unix termios interface. Regarding..

[Samba] how to change password from win2k client - I am using samba as a PDC for my WIN2K professional network. My configuration is as under: [global] workgroup...
       Soft32 Home -> Linux -> System Development All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]