ssh
ssh copied to clipboard
Feature Request: `ssh_info()` works on disconnected sessions
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
?