bug#36364: Potential SSH session exhaustion

2019-06-25 Thread Ludovic Courtès
Hi, zerodaysford...@sdf.lonestar.org (Jakob L. Kreuze) skribis: > Ludovic Courtès writes: [...] >> I see that ‘remote-eval’ does not close ‘remote’ though, so this >> channel port remains open until it’s GC’d, which happens too late. >> Could you try the attached patch? It allows me to do more

bug#36364: Potential SSH session exhaustion

2019-06-24 Thread Jakob L. Kreuze
Hi, Ludovic Courtès writes: > Procedures like ‘send-files’ call ‘channel-get-exit-status’ and > ‘close-port’ on ports that represent SSH channels. > > AFAICS, ‘close-port’ triggers a call of ‘ptob_close’ in Guile-SSH, > which in turn calls ‘ssh_channel_close’. > > sshd_config(5) says: > >Max

bug#36364: Potential SSH session exhaustion

2019-06-24 Thread Ludovic Courtès
Hello Jakob, zerodaysford...@sdf.lonestar.org (Jakob L. Kreuze) skribis: > In developing a test suite for the internals of 'guix deploy', the > virtual machine I spun up spat out an OpenSSH error that I've never > encountered before. > > Jun 24 16:59:26 localhost sshd[235]: error: no more sessi

bug#36364: Potential SSH session exhaustion

2019-06-24 Thread Jakob L. Kreuze
Hello, Guix In developing a test suite for the internals of 'guix deploy', the virtual machine I spun up spat out an OpenSSH error that I've never encountered before. Jun 24 16:59:26 localhost sshd[235]: error: no more sessions This is, initially, quite curious. Creating the SSH session with #