ssh: Add testcases for max_sessions option
ssh: Add testcases for max_sessions option

Now checks that if we have max_session sessions we could close one session and open a new one.  That is checked both for parallel and non-parallel logins.

lucafavatella/otp,falkevik/otp,lrascao/otp,jj1bdx/otp,stolen/otp,saleyn/otp,saleyn/otp,bjorng/otp,RichMorin/otp,dgud/otp,beni55/otp,basho/otp,ferd/otp,basho/otp,g-andrade/otp,cnbin/otp,RaimoNiskanen/otp,marquisthunder/otp,lucafavatella/otp,potatosalad/otp,kvakvs/otp,mujiatong/otp,weisslj/otp,lantti/otp,krishnakumar4a4/otp,sdebnath/otp,basho/otp,cnbin/otp,vladdu/otp,bernardd/otp,cobusc/otp,c-rack/otp,jinshana/otp,lucafavatella/otp,erlang/otp,platinumthinker/otp,jj1bdx/otp,jamesruan/otp,RGafiyatullin/otp,neeraj9/otp,schlagert/otp,yangchengjian/otp,vic/otp,jemsbhai/otp,fenollp/otp,platinumthinker/otp,matwey/otp,massemanet/otp,vladdu/otp,sitexa/otp,sammoth-wazoku/otp,vinoski/otp,emacsmirror/erlang,saleyn/otp,dumbbell/otp,tuncer/otp,krishnakumar4a4/otp,bjorng/otp,lightcyphers/otp,bsmr-erlang/otp,paladim/otp,electricimp/otp,mikpe/otp,beni55/otp,RoadRunnr/otp,sammoth-wazoku/otp,sammoth-wazoku/otp,GinjaNinja32/otp,vinoski/otp,electricimp/otp,RaimoNiskanen/otp,entropiae/otp,lrascao/otp,riverrun/otp,GinjaNinja32/otp,hairyhum/otp,bjorng/otp,RichMorin/otp,ferd/otp,jemsbhai/otp,potatosalad/otp,gjaldon/otp,marquisthunder/otp,dgud/otp,lrascao/otp,ferd/otp,entropiae/otp,lucafavatella/otp,emile/otp,palas/otp,cnbin/otp,riverrun/otp,stolen/otp,lemenkov/otp,NOMORECOFFEE/otp,awetzel/otp,platinumthinker/otp,basho/otp,mujiatong/otp,matwey/otp,neeraj9/otp,lightcyphers/otp,marquisthunder/otp,lightcyphers/otp,electricimp/otp,matwey/otp,ahmedshafeeq/otp,bugs-erlang-org/otp,klarna/otp,RoadRunnr/otp,lrascao/otp,lantti/otp,tuncer/otp,RichMorin/otp,sitexa/otp,entropiae/otp,rlipscombe/otp,legoscia/otp,cobusc/otp,sdebnath/otp,yangchengjian/otp,goertzenator/otp,uabboli/otp,derek121/otp,RoadRunnr/otp,awetzel/otp,enikki/otp,basho/otp,palas/otp,weisslj/otp,RichMorin/otp,vinoski/otp,release-project/otp,isvilen/otp,jamesruan/otp,benoitc/otp-1,schlagert/otp,theom/otp,benoitc/otp-1,jinshana/otp,uabboli/otp,jj1bdx/otp,aboroska/otp,klarna/otp,bugs-erlang-org/otp,RJ/otp,erlang/otp,RJ/otp,NOMORECOFFEE/otp,palas/otp,kvakvs/otp,g-andrade/otp,GinjaNinja32/otp,aboroska/otp,potatosalad/otp,lrascao/otp,massemanet/otp,tuncer/otp,theom/otp,stolen/otp,bugs-erlang-org/otp,palas/otp,potatosalad/otp,mujiatong/otp,bjorng/otp,paulcager/otp,awetzel/otp,awetzel/otp,jamesruan/otp,beni55/otp,lianghaivv/otp,aboroska/otp,aboroska/otp,NOMORECOFFEE/otp,legoscia/otp,johanclaesson/otp,mujiatong/otp,vic/otp,mikpe/otp,goertzenator/otp,GinjaNinja32/otp,isvilen/otp,aboroska/otp,vic/otp,lightcyphers/otp,potatosalad/otp,derek121/otp,paladim/otp,RJ/otp,RGafiyatullin/otp,mujiatong/otp,bugs-erlang-org/otp,bugs-erlang-org/otp,theom/otp,awetzel/otp,emacsmirror/erlang,saleyn/otp,emile/otp,RGafiyatullin/otp,ahmedshafeeq/otp,basho/otp,ferd/otp,lightcyphers/otp,uabboli/otp,GinjaNinja32/otp,saleyn/otp,platinumthinker/otp,lhslll/otp,Teino1978-Corp/otp,saleyn/otp,RaimoNiskanen/otp,emacsmirror/erlang,sdebnath/otp,bernardd/otp,kvakvs/otp,msantos/otp,palas/otp,RGafiyatullin/otp,uabboli/otp,jemsbhai/otp,schlagert/otp,krishnakumar4a4/otp,bernardd/otp,vinoski/otp,isvilen/otp,erlang/otp,hairyhum/otp,RaimoNiskanen/otp,lightcyphers/otp,mikpe/otp,paulcager/otp,yangchengjian/otp,gjaldon/otp,ahmedshafeeq/otp,lantti/otp,stolen/otp,bernardd/otp,bugs-erlang-org/otp,entropiae/otp,getong/otp,isvilen/otp,psyeugenic/otp,ahmedshafeeq/otp,Teino1978-Corp/otp,NOMORECOFFEE/otp,enikki/otp,Teino1978-Corp/erlang-otp,riverrun/otp,RGafiyatullin/otp,riverrun/otp,getong/otp,hairyhum/otp,bsmr-erlang/otp,ferd/otp,haguenau/otp,paulcager/otp,bjorng/otp,jinshana/otp,getong/otp,stolen/otp,derek121/otp,johanclaesson/otp,theom/otp,ader1990/otp,derek121/otp,yangchengjian/otp,vinoski/otp,krishnakumar4a4/otp,Teino1978-Corp/otp,release-project/otp,NOMORECOFFEE/otp,electricimp/otp,riverrun/otp,jamesruan/otp,kvakvs/otp,neeraj9/otp,emile/otp,paladim/otp,saleyn/otp,psyeugenic/otp,psyeugenic/otp,dumbbell/otp,marquisthunder/otp,goertzenator/otp,saleyn/otp,sammoth-wazoku/otp,benoitc/otp-1,dgud/otp,lianghaivv/otp,massemanet/otp,RichMorin/otp,klarna/otp,RaimoNiskanen/otp,RJ/otp,vinoski/otp,c-rack/otp,haguenau/otp,ader1990/otp,VincentHHL/otp,vladdu/otp,johanclaesson/otp,vladdu/otp,lrascao/otp,RoadRunnr/otp,sammoth-wazoku/otp,jj1bdx/otp,matwey/otp,ferd/otp,g-andrade/otp,bjorng/otp,isvilen/otp,msantos/otp,uabboli/otp,sdebnath/otp,c-rack/otp,msantos/otp,paulcager/otp,erlang/otp,bsmr-erlang/otp,NOMORECOFFEE/otp,RichMorin/otp,kvakvs/otp,haguenau/otp,Teino1978-Corp/otp,paladim/otp,legoscia/otp,aboroska/otp,ader1990/otp,isvilen/otp,theom/otp,release-project/otp,vladdu/otp,rlipscombe/otp,erlang/otp,basho/otp,haguenau/otp,VincentHHL/otp,lrascao/otp,falkevik/otp,lhslll/otp,jamesruan/otp,sitexa/otp,tuncer/otp,hairyhum/otp,vladdu/otp,VincentHHL/otp,ahmedshafeeq/otp,schlagert/otp,g-andrade/otp,ader1990/otp,derek121/otp,RoadRunnr/otp,erlang/otp,emile/otp,dumbbell/otp,legoscia/otp,bjorng/otp,psyeugenic/otp,massemanet/otp,lemenkov/otp,jinshana/otp,electricimp/otp,emacsmirror/erlang,jj1bdx/otp,palas/otp,GinjaNinja32/otp,kvakvs/otp,benoitc/otp-1,klarna/otp,dumbbell/otp,schlagert/otp,beni55/otp,lemenkov/otp,RJ/otp,riverrun/otp,paulcager/otp,vic/otp,vinoski/otp,jinshana/otp,mikpe/otp,goertzenator/otp,tuncer/otp,neeraj9/otp,cnbin/otp,cobusc/otp,neeraj9/otp,schlagert/otp,isvilen/otp,cobusc/otp,emile/otp,paladim/otp,lightcyphers/otp,RaimoNiskanen/otp,matwey/otp,legoscia/otp,sitexa/otp,entropiae/otp,release-project/otp,vic/otp,bernardd/otp,electricimp/otp,erlang/otp,psyeugenic/otp,NOMORECOFFEE/otp,electricimp/otp,stolen/otp,VincentHHL/otp,yangchengjian/otp,lrascao/otp,RichMorin/otp,paladim/otp,getong/otp,vladdu/otp,krishnakumar4a4/otp,neeraj9/otp,entropiae/otp,Teino1978-Corp/otp,isvilen/otp,paulcager/otp,msantos/otp,Teino1978-Corp/erlang-otp,sdebnath/otp,aboroska/otp,ader1990/otp,klarna/otp,Teino1978-Corp/otp,entropiae/otp,cnbin/otp,palas/otp,tuncer/otp,enikki/otp,sitexa/otp,VincentHHL/otp,gjaldon/otp,lucafavatella/otp,massemanet/otp,emile/otp,RJ/otp,vladdu/otp,lemenkov/otp,rlipscombe/otp,basho/otp,klarna/otp,Teino1978-Corp/erlang-otp,potatosalad/otp,mikpe/otp,riverrun/otp,platinumthinker/otp,gjaldon/otp,theom/otp,lucafavatella/otp,dgud/otp,electricimp/otp,g-andrade/otp,lianghaivv/otp,tuncer/otp,ahmedshafeeq/otp,erlang/otp,vic/otp,schlagert/otp,mikpe/otp,lantti/otp,RoadRunnr/otp,aboroska/otp,Teino1978-Corp/erlang-otp,c-rack/otp,lantti/otp,mikpe/otp,basho/otp,rlipscombe/otp,cnbin/otp,vic/otp,paulcager/otp,emile/otp,electricimp/otp,vinoski/otp,beni55/otp,g-andrade/otp,benoitc/otp-1,lhslll/otp,emile/otp,getong/otp,RoadRunnr/otp,falkevik/otp,dumbbell/otp,aboroska/otp,krishnakumar4a4/otp,lrascao/otp,weisslj/otp,RaimoNiskanen/otp,lianghaivv/otp,release-project/otp,bernardd/otp,ferd/otp,goertzenator/otp,RGafiyatullin/otp,ferd/otp,mikpe/otp,legoscia/otp,enikki/otp,lianghaivv/otp,lantti/otp,johanclaesson/otp,lightcyphers/otp,dumbbell/otp,neeraj9/otp,lianghaivv/otp,krishnakumar4a4/otp,psyeugenic/otp,lhslll/otp,sammoth-wazoku/otp,lucafavatella/otp,beni55/otp,GinjaNinja32/otp,cnbin/otp,jemsbhai/otp,RoadRunnr/otp,emacsmirror/erlang,c-rack/otp,bsmr-erlang/otp,sdebnath/otp,dgud/otp,hairyhum/otp,getong/otp,jamesruan/otp,potatosalad/otp,falkevik/otp,msantos/otp,hairyhum/otp,dgud/otp,platinumthinker/otp,uabboli/otp,emacsmirror/erlang,potatosalad/otp,emile/otp,ahmedshafeeq/otp,legoscia/otp,vic/otp,gjaldon/otp,emacsmirror/erlang,RGafiyatullin/otp,enikki/otp,mikpe/otp,kvakvs/otp,jj1bdx/otp,dgud/otp,palas/otp,bsmr-erlang/otp,jinshana/otp,haguenau/otp,jinshana/otp,Teino1978-Corp/erlang-otp,platinumthinker/otp,mikpe/otp,jemsbhai/otp,massemanet/otp,paladim/otp,psyeugenic/otp,sitexa/otp,theom/otp,entropiae/otp,yangchengjian/otp,bjorng/otp,haguenau/otp,weisslj/otp,isvilen/otp,jamesruan/otp,jj1bdx/otp,c-rack/otp,dgud/otp,enikki/otp,yangchengjian/otp,Teino1978-Corp/otp,fenollp/otp,lucafavatella/otp,derek121/otp,marquisthunder/otp,jemsbhai/otp,bernardd/otp,sitexa/otp,bjorng/otp,marquisthunder/otp,gjaldon/otp,lhslll/otp,neeraj9/otp,stolen/otp,psyeugenic/otp,msantos/otp,getong/otp,sammoth-wazoku/otp,g-andrade/otp,RGafiyatullin/otp,dumbbell/otp,potatosalad/otp,g-andrade/otp,johanclaesson/otp,bjorng/otp,matwey/otp,gjaldon/otp,RJ/otp,enikki/otp,Teino1978-Corp/otp,VincentHHL/otp,cnbin/otp,bugs-erlang-org/otp,ader1990/otp,rlipscombe/otp,RaimoNiskanen/otp,NOMORECOFFEE/otp,lantti/otp,tuncer/otp,awetzel/otp,kvakvs/otp,lhslll/otp,release-project/otp,bsmr-erlang/otp,RJ/otp,jj1bdx/otp,dumbbell/otp,erlang/otp,dumbbell/otp,haguenau/otp,theom/otp,gjaldon/otp,bsmr-erlang/otp,jamesruan/otp,lemenkov/otp,weisslj/otp,johanclaesson/otp,bernardd/otp,mujiatong/otp,VincentHHL/otp,awetzel/otp,marquisthunder/otp,Teino1978-Corp/erlang-otp,rlipscombe/otp,goertzenator/otp,massemanet/otp,ader1990/otp,falkevik/otp,fenollp/otp,weisslj/otp,cobusc/otp,matwey/otp,johanclaesson/otp,getong/otp,legoscia/otp,lantti/otp,Teino1978-Corp/erlang-otp,fenollp/otp,weisslj/otp,release-project/otp,ferd/otp,legoscia/otp,cobusc/otp,falkevik/otp,derek121/otp,sdebnath/otp,hairyhum/otp,getong/otp,lhslll/otp,saleyn/otp,fenollp/otp,ader1990/otp,platinumthinker/otp,beni55/otp,bernardd/otp,falkevik/otp,RaimoNiskanen/otp,uabboli/otp,jj1bdx/otp,emacsmirror/erlang,isvilen/otp,weisslj/otp,fenollp/otp,lianghaivv/otp,dumbbell/otp,bugs-erlang-org/otp,benoitc/otp-1,emacsmirror/erlang,vinoski/otp,emacsmirror/erlang,yangchengjian/otp,mujiatong/otp,haguenau/otp,beni55/otp,lianghaivv/otp,erlang/otp,klarna/otp,awetzel/otp,mujiatong/otp,potatosalad/otp,massemanet/otp,klarna/otp,enikki/otp,lemenkov/otp,g-andrade/otp,krishnakumar4a4/otp,ahmedshafeeq/otp,falkevik/otp,kvakvs/otp,lemenkov/otp,dgud/otp,GinjaNinja32/otp,tuncer/otp,RichMorin/otp,rlipscombe/otp,marquisthunder/otp,jj1bdx/otp,uabboli/otp,uabboli/otp,schlagert/otp,derek121/otp,bsmr-erlang/otp,sammoth-wazoku/otp,hairyhum/otp,ahmedshafeeq/otp,lhslll/otp,falkevik/otp,goertzenator/otp,riverrun/otp,Teino1978-Corp/erlang-otp,jemsbhai/otp,msantos/otp,release-project/otp,dgud/otp,msantos/otp,fenollp/otp,getong/otp,benoitc/otp-1,sitexa/otp,matwey/otp,sdebnath/otp,cobusc/otp,weisslj/otp,vinoski/otp,goertzenator/otp,fenollp/otp,fenollp/otp,matwey/otp,VincentHHL/otp,rlipscombe/otp,c-rack/otp,bsmr-erlang/otp,stolen/otp,release-project/otp,paulcager/otp,vladdu/otp,goertzenator/otp,rlipscombe/otp,g-andrade/otp,jemsbhai/otp,jinshana/otp,lemenkov/otp,johanclaesson/otp,RoadRunnr/otp,massemanet/otp,cobusc/otp,benoitc/otp-1,c-rack/otp,rlipscombe/otp,paladim/otp