openssh-rust / openssh

Scriptable SSH through OpenSSH in Rust
Apache License 2.0
232 stars 35 forks source link

How to disable .ssh-connectionXXXXX folder creation #138

Open Th0rgal opened 9 months ago

Th0rgal commented 9 months ago

Hey,

Every time I start a ssh connection it creates a .ssh-connectionXXXXX folder (where X are replaced by random chars). How could I disable that feature, or make sure that folder is removed afterwards?

NobodyXu commented 9 months ago

Hi, it will be auto removed after the ssh connection is teared down properly.

It's a temporary directory required to store the ssh multiple socket.