Skip to contents

Provided istance URL, connects to it through ssh and executes shell commands to restart RStudio session and remove all session backups. Useful when your istance is stuck trying to restore session.

Usage

ec2_restart_session(url)

Arguments

url

Instance URL, either in IP format or DNS format.

Examples

if (FALSE) { # \dontrun{
ec2_restart_session("http://34.201.126.198/auth-sign-in?appUri=%2F")
ec2_restart_session("http://ec2-34-201-126-198.compute-1.amazonaws.com/auth-sign-in?appUri=%2F")
} # }