Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

handy alias for reattaching to a screen inside a vz vm

  • Loading branch information...
commit bc636783831d28441f57a3fb5260dbd7895fe20a 1 parent bdfb957
@astera authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 parallels_helpers/alias
View
4 parallels_helpers/alias
@@ -0,0 +1,4 @@
+# A nice-to-have alias in order to quickly reattach to a screen running inside
+# a virtual machine on an OpenVZ or Virtuozzo host
+
+alias devenv='ssh $VZ_SERVER -p $HOST_PORT -l $USER -i $YOUR_KEYFILE -t sudo vzctl enter $YOUR_VMs_VEID --exec screen -r'
Please sign in to comment.
Something went wrong with that request. Please try again.