Displaying 20 results from an estimated 400 matches similar to: "Exiting ssh when MaxSessions=0"
2001 Oct 10
7
OpenSSH solaris: bad return code after exec of remote command
Hi OpenSSH developers,
I am using openSSH (now 2.9.9p2, but prob occurs in 2.9p2 also) to execute
commands on a remote machine which outputs data to stdout then pipes it to
another invocation of ssh which connects back to the first machine in the same
way, where it starts a program to read and store the output from the command on
the second machine. I am using the "command" option in
2015 Feb 20
2
which are the exact effects of MaxSessions
Hey.
I wondered a bit which the exact effects of MaxSessions are.
The documentation says:
Specifies the maximum number of open sessions permitted per net?
work connection. The default is 10.
And it apparently seems that setting e.g. the following in sshd_config:
MaxSessions 0
=> no logins possible at all
MaxSessions 1
=> control channel muxing basically
2016 Jan 23
5
[Bug 2531] New: MaxSessions config parameter name is highly ambigious
https://bugzilla.mindrot.org/show_bug.cgi?id=2531
Bug ID: 2531
Summary: MaxSessions config parameter name is highly ambigious
Product: Portable OpenSSH
Version: 7.1p1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: sshd
Assignee: unassigned-bugs at
2011 Aug 16
1
MaxSessions option in sshd_config
Hi,
I need information regarding MaxSessions option in sshd_config. As i
understand, it defines the maximum number of channels that can be opened at
any point of time between two hosts that are connected over SSH. The default
value for this option is 10 in openSSH. What all needs to be considered if i
want to increase this value? Are there any security concerns with increase
of this value or does
2016 Jan 24
2
[Bug 2532] New: MaxSessions config parameter name is highly ambigious
https://bugzilla.mindrot.org/show_bug.cgi?id=2532
Bug ID: 2532
Summary: MaxSessions config parameter name is highly ambigious
Product: Portable OpenSSH
Version: 7.1p1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: sshd
Assignee: unassigned-bugs at
2008 Aug 04
1
Hanging ssh sessions with openssh-5.1p1 and Solaris 8 & 10
Since we upgraded OpenSSH from 5.0p1 to 5.1p1 on our Solaris 8 boxes
(I know, I know, we should upgrade or retire them...), we've started
experiencing problems with slogin'ing into these boxes, running vi,
and pasting text into the vi session.
As long as we are pasting in less that 1024 characters it's fine.
With >= 1024 characters, the session hangs.
If you run
2019 Dec 29
2
securing a hop
for the A nat B C connect back to A using -R 2222:localhost:22 pattern,
(see diagram at https://github.com/daradib/sidedoor)
I want to limit B's user to just what is needed to do the port forward.
I am hoping this is documented, but I can't find much more than "you should
future out how to secre it."
I setup an ansible playbook to instal and configure sidedoor on A. I have
2017 Jul 08
4
force port redirection for list of users
Hi ,
I have the following requirement .
other than following users, any other user sshd connection should be
redirected to 2024 instead of port 22.
root, ftp, guest
So
ssh root at ip // should be sent to sshd running at port 22
ssh otheruser at ip // should be sent to sshd running at port 2024
I know that we can do something like this:
ssh -o ProxyCommand='ssh -W localhost:2024 cliuser
2008 Aug 29
4
[Bug 1517] New: ssh ControlMaster process is crashing frequently when multiplexing ssh and scp connections with error 'select: Invalid argument'
https://bugzilla.mindrot.org/show_bug.cgi?id=1517
Summary: ssh ControlMaster process is crashing frequently when
multiplexing ssh and scp connections with error
'select: Invalid argument'
Product: Portable OpenSSH
Version: 5.1p1
Platform: Sparc
OS/Version: Solaris
Status: NEW
2017 Jul 18
2
force port redirection for list of users
Thanks somuch. I am checking it.
Best Regards,
On Tue, Jul 18, 2017 at 9:08 PM, Reuti <reuti at staff.uni-marburg.de> wrote:
>
> > Am 08.07.2017 um 18:41 schrieb Sudarshan Soma <sudarshan12s at gmail.com>:
> >
> > Hi ,
> > I have the following requirement .
> > other than following users, any other user sshd connection should be
> > redirected
2020 Feb 25
2
Restrict SSH connections
Hi,
Is there a way to restrict the number of active SSH client connections to
an sshd server.
Thanks & Regards,
Amit
2012 Oct 22
1
[PATCH] Implement remote dynamic TCP forwarding
Hi all,
This is a client side only implementation of reversed dynamic (SOCKS) TCP
forwarding, which means it is compatible with any existing servers
have 'remote forward' capability.
To establish such forward, use "ssh -R [BIND_ADDRESS:]PORT ...".
The server will listen on that port and address and accept SOCKS
traffics.
Hope this will be useful for you.
There was an
2008 Apr 24
2
[Bug 1090] Increase MAX_SESSIONS?
https://bugzilla.mindrot.org/show_bug.cgi?id=1090
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|bitbucket at mindrot.org |djm at mindrot.org
--- Comment #12 from Damien Miller <djm at
2005 Sep 23
7
[Bug 1090] Increase MAX_SESSIONS?
http://bugzilla.mindrot.org/show_bug.cgi?id=1090
Summary: Increase MAX_SESSIONS?
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: sshd
AssignedTo: bitbucket at mindrot.org
ReportedBy: cjwatson at debian.org
2008 Jul 06
11
OpenSSH 5.1: call for testing
Hi,
OpenSSH 5.1 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible. This release is one of
the biggest in recent years, with two hackathons' worth of improvements
and fixes for some of our most recalcitrant bugs.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The OpenBSD version is
2000 Aug 23
1
Protocol 2 remote forwarding patch
Hi !
Here's a patch to add remote port forwarding support (protocol 2) for
openssh. I have tried to test that it works like it should but a more
thorough testing is needed. This patch adds both client/server support.
The patch should be applied to openssh-2.1.1p4 source tree.
Also included is a PortForwarding sshd_config option, new ./configure
option --disable-forwarding that should make it
2017 Sep 26
2
tweaking max sessions / scaling
Other than cranking up logging to debug2, is there a way to better tune
logging on a server to see if I am running into max sessions ? On
FreeBSD RELENG11 I am periodically seeing connections being refused-
3way handshake not completing or completing and then FINs.
Typically, I have a hundred or so connections at one time, but they can
bounce up to a few hundred on occasion. Without leaving the
2009 Sep 10
0
Multiple (multiplexed) simultaneous ssh connections - Cygwin bug?
Hello,
I've see you answered a problem with simultaneous ssh connections in cygwin.
The version I'm using is CYGWIN_NT-5.2
I've change the sshd_config and put the Parameter maxsessions 100 in it.
But it doesn't work. Ich have still 10 limited ssh session at onen time.
I need at least approx 100 to fix our specific problem.
I've also tried mas_ssh_starts=100 but this prevent
2008 Jul 22
0
Announce: OpenSSH 5.1 released
OpenSSH 5.1 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.
OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.
We have also recently completed another Internet SSH usage scan, the
results of which may be found at http://www.openssh.com/usage.html
Once again, we
2008 Jul 22
0
Announce: OpenSSH 5.1 released
OpenSSH 5.1 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.
OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.
We have also recently completed another Internet SSH usage scan, the
results of which may be found at http://www.openssh.com/usage.html
Once again, we