problems with multiple ssh connection

Issues related to configuring your network
Post Reply
lodotanke
Posts: 4
Joined: 2018/02/08 13:37:11

problems with multiple ssh connection

Post by lodotanke » 2018/02/08 14:00:37

Hi,
I have two linux boxes both with a fresh installation with the latest centos release (7), only the hardware is different. I'll call them the client and the server from here on. I'm having the following two issues with ssh.

1) After I logout from an ssh session, I have to wait some time before I can connect again to the server.

2) If I have an open ssh session between the client and the server, no other session can be opened. This is true irrespective of the fact that the user on the server is the same or a different one. I also tried to connect to the server via ssh from a second client when a session from the first client was already active, with no success.

I had a look at the PAM system configuration, but I could not find any solution. Any suggestion? If any more information is needed, I can of course provide it.

Thanks, Lodovico

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: problems with multiple ssh connection

Post by TrevorH » 2018/02/08 14:33:33

This is not a normal configuration - nothing does anything like this out of the box. What is the output from rpm -Va openssh\*
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

lodotanke
Posts: 4
Joined: 2018/02/08 13:37:11

Re: problems with multiple ssh connection

Post by lodotanke » 2018/02/09 08:41:31

TrevorH wrote:This is not a normal configuration - nothing does anything like this out of the box. What is the output from rpm -Va openssh\*
Hi,

the output from rpm -Va openssh\* (issued as root) follows:

*************************
S.5....T. c /etc/ssh/sshd_config
S.5....T. c /etc/sysconfig/sshd
**************************

The only thing I did after installing centos7 was a software update. I also installed the Cadence suite for microelectronic design. Nothing more than that.
Thanks for helping, Lodovico

lodotanke
Posts: 4
Joined: 2018/02/08 13:37:11

Re: problems with multiple ssh connection

Post by lodotanke » 2018/02/09 09:47:14

An update. I tried to ssh from the server to the client (at last) and I found out that I can open as many ssh sessions as I like. So there is a difference between the two installations.

Lodovico

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: problems with multiple ssh connection

Post by TrevorH » 2018/02/09 09:49:14

I don't think this is a CentOS problem.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

lodotanke
Posts: 4
Joined: 2018/02/08 13:37:11

Re: problems with multiple ssh connection

Post by lodotanke » 2018/02/11 18:30:36

Sure it is not. Eventually I re-installed centos on the server and now everything works fine, as far as ssh is concerned.

Thanks, Lodovico

Post Reply