screen -D -r <identifier>

Reattach a session. If necessary detach and logout remotely first

Arguments

NameDescription
identifier