Re: Force sshd to prompt username

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



No. I am trying to invoke ssh command from my code something like
system("ssh ip -p <port>")  as custom action and would want the sshd to
handle Login screens (prompting user/passwd., etc)  .


Best Regards,


On Thu, Jan 19, 2017 at 10:26 PM, Ziirish <ziirish@xxxxxxxxxxxx> wrote:

> Hi,
>
> Can't you just use the user@server syntax or even the -l flag?
>
> cogan@localhost$ ssh xyz@myserver
> cogan@localhost$ ssh -l xyz myserver
>
> * On Thursday, January 19, 2017 at 10:21 PM +0530, Sudarshan Soma <
> sudarshan12s@xxxxxxxxx> wrote:
> > Hi, Can I send ssh request to sshd to prompt for username along with
> > password.
> >
> > Ex:
> >
> > cogan@localhost$ ssh myserver
> >
> > Login:xyz
> > password:
> >
> >
> > Login is automatically taken as cogan, wanted to ignore this and
> >
> > instead prompt login and take it from user, Please suggest.
> >
> >
> > Best Regards,
>
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux