Skip to content

Can't unset close-on-exec flags on Ubuntu 12, ssh 5.9p1 #1

@icy

Description

@icy

My system is Ubuntu 12 LTS. that is using OpenSSH_5.9p1 ( Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 ). I tried this

solo -port=1234 ssh remote -fN

to create a stable tunnel to the remote server. Unfortunately, when ssh is executed, it seems to ignore / modify the variable $^F, so that

solo -port=1234 ssh remote -fN # will execute ssh
solo -port=1234 ssh remote -fN # will execute ssh

will launch two different ssh connections / processes on my system (the expected result should be one)

This problem happens only with ssh. If I use ping 0 instead,

solo -port=1235 ping 0 # will execute ping
solo -port=1235 ping 0 # wil exit

the program solo seems to work well.

I don't encounter this issue with ssh on Ubuntu 10 LTS and Ubuntu 11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions