Displaying 10 results from an estimated 10 matches for "sessiontyp".
Did you mean:
sessiontype
2024 May 06
1
Feature request/EOI: Match interactive config?
Hey Damien,
> Would something like this help?
>
> Match sessiontype shell
> User foo
> Match remotecommand "none"
> User foo2
> Match sessiontype exec remotecommand "/rsync"
> User bar
> Match sessiontype subsystem remotecommand "sftp"
> User baz
>
>
> diff --git a/readconf.c b/readconf.c
> <snip&...
2024 May 06
1
Feature request/EOI: Match interactive config?
...toggling different configurations for interactive vs non-interactive
> sessions exist, when serverside control is not an option? Sorry if
> this was already discussed before, nothing from this mailing list
> turned up in a web search about the topic.
Would something like this help?
Match sessiontype shell
User foo
Match remotecommand "none"
User foo2
Match sessiontype exec remotecommand "*/rsync*"
User bar
Match sessiontype subsystem remotecommand "sftp"
User baz
diff --git a/readconf.c b/readconf.c
index 3a64a0441..dff6a9df6 100644
--- a/readconf.c
+++ b/r...
2024 May 06
1
Feature request/EOI: Match interactive config?
On Mon, 6 May 2024, openssh at tr.id.au wrote:
> Hey Damien,
>
> > Would something like this help?
> >
> > Match sessiontype shell
> > User foo
> > Match remotecommand "none"
> > User foo2
> > Match sessiontype exec remotecommand "/rsync"
> > User bar
> > Match sessiontype subsystem remotecommand "sftp"
> > User baz
> >
> >
> > d...
2024 May 04
3
Feature request/EOI: Match interactive config?
Hey there,
I often want different behavior in my ssh client depending on whether I'm logging into an interactive session or running a remote non-interactive command. We can see at, say, https://unix.stackexchange.com/a/499562/305714 that this isn't a unique wish, and existing solutions are kind of baroque. Typical reasons to do this are to immediately go into a screen or tmux session; for
2008 Oct 31
10
Strange dependency error after going Ruby1.8.6, Rails 2.1.0 -> Ruby1.8.7, Rails 2.1.2
Hi,
I''m getting an error I just can''t find any cause for.
The error is "A copy of ApplicationHelper has been removed from the
module tree but is still active!" and gets thrown
in a Template that uses a method defined in my ApplicationHelper. The
error occurs only in development mode.
The error did not occur before my switch to Ruby 1.8.7 and Rails 2.1.2
minutes ago.
I
2024 May 06
1
Feature request/EOI: Match interactive config?
...*cp = *condition, *host, *criteria;
const char *ruser;
@@ -764,6 +766,30 @@ match_cfg_line(Options *options, char **condition, struct passwd *pw,
r = match_pattern_list(criteria, arg, 0) == 1;
if (r == (negate ? 1 : 0))
this_result = result = 0;
+ } else if (strcasecmp(attrib, "sessiontype") == 0) {
+ if (options->session_type == SESSION_TYPE_SUBSYSTEM)
+ criteria = xstrdup("subsystem");
+ else if (options->session_type == SESSION_TYPE_NONE)
+ criteria = xstrdup("none");
+ else if (rcommand != NULL && sshbuf_len(rcommand) > 0)
+...
2024 May 06
1
Feature request/EOI: Match interactive config?
... and I guess your next question will be about compilation environment, so:
```
$ gcc --version
gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
I'm running on gentoo. I tested that the
2021 Oct 08
26
[Bug 3353] New: Tracking bug for openssh-8.9
https://bugzilla.mindrot.org/show_bug.cgi?id=3353
Bug ID: 3353
Summary: Tracking bug for openssh-8.9
Product: Portable OpenSSH
Version: -current
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at
2017 Apr 06
3
failure of make check-all
...ot;R_RD4PDF" "R_SESSION_TMPDIR"
> [69] "R_SHARE_DIR" "R_SYSTEM_ABI"
> [71] "R_TEXI2DVICMD" "R_UNZIPCMD"
> [73] "R_VERSION" "R_ZIPCMD"
> [75] "SED" "SESSION"
> [77] "SESSIONTYPE" "SESSION_MANAGER"
> [79] "SHELL" "SHLVL"
> [81] "SSH_AGENT_PID" "SSH_AUTH_SOCK"
> [83] "TAR" "TERM"
> [85] "TEXINPUTS" "UPSTART_EVENTS"
> [87] "UPSTART_INSTANCE&q...
2017 Apr 06
0
failure of make check-all
...t; "R_SESSION_TMPDIR"
> > [69] "R_SHARE_DIR" "R_SYSTEM_ABI"
> > [71] "R_TEXI2DVICMD" "R_UNZIPCMD"
> > [73] "R_VERSION" "R_ZIPCMD"
> > [75] "SED" "SESSION"
> > [77] "SESSIONTYPE" "SESSION_MANAGER"
> > [79] "SHELL" "SHLVL"
> > [81] "SSH_AGENT_PID" "SSH_AUTH_SOCK"
> > [83] "TAR" "TERM"
> > [85] "TEXINPUTS" "UPSTART_EVENTS"
> > [87] "UPS...