Re: sshd custom shell script for specifc user

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

 



Thanks  Darren, the intention to do this :
allow users to access my own shell/CLI(including authentication) on port
22.
their firewall settings doesnt allow anything other than port 22, so I
would internally redirect to port 1023 when customuser is provided.

I will try enabling logs, thanks.

On Tue, Jan 31, 2017 at 5:10 AM, Darren Tucker <dtucker@xxxxxxxxxx> wrote:

> On Tue, Jan 31, 2017 at 5:03 AM, Sudarshan Soma <sudarshan12s@xxxxxxxxx>
> wrote:
> > + added subject
> >
> > On Mon, Jan 30, 2017 at 11:32 PM, Sudarshan Soma <sudarshan12s@xxxxxxxxx
> >
> > wrote:
> [...]
> >> I am trying to give access to sshd port 22 to connect to different port
> >> 1023 by differentiating with special user, customuser. Following is how
> i
> >> tried, but it doesnt work, please suggest.
>
> What is the objective of this exercise?
>
> >> If i run sshd in debug mode, password is asked in the server window,
> >> prints go to client window:
>
> I think what's happening is that ssh will open the process'
> controlling terminal to ask for a password, and that happens to be
> sshd's when run in debug mode and not present when run normally.  Try
> forcing ssh to request a tty ("ssh -tt ...").
>
> If that doesn't work please post the complete server and client debug
> logs (using "/path/to/sshd -o loglevel=debug3 -e" should get you the
> debug logs for the doesn't-ask case).
>
> --
> Darren Tucker (dtucker at zip.com.au)
> GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
>     Good judgement comes with experience. Unfortunately, the experience
> usually comes from bad judgement.
>
_______________________________________________
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