ssh icon indicating copy to clipboard operation
ssh copied to clipboard

Feature Request: `ssh_info()` works on disconnected sessions

Open billdenney opened this issue 1 year ago • 0 comments

I am trying to write something that will use a session multiple times over relatively long times. When it is disconnected, I'd like to reconnect the session. But, when I run ssh_info() on a disconnected session, it gives an error:

> ssh_disconnect(session)
> ssh_info(session)
Error in ssh_info(session) : ssh session has been disconnected

Could this behavior be changed so that it will return info about the session where $connected=FALSE?

billdenney avatar Aug 06 '22 15:08 billdenney