Evitaremos tener que abrir la una ventana terminal ejecutar el comando telnet y especificar el puerto.
Configuración para Mac OS:
VM Maestro -> Preferencias
Añadimos para telnet:
Para Telnet:
/usr/bin/osascript /Users/tu-usuario/iterm.scpt telnet %h %p %t
Para
SSH: /usr/bin/osascript /Users/tu-usuario/iterm.scpt ssh -Atp%p guest@%h %r %t
Insertar este script en la ruta (Users/tu-usuario/iterm.scpt):
on run argv
tell application "Terminal" activate -- open a new Tab, sadly, there is no method tell application "System Events" keystroke "t" using {command down} end tell repeat with win in windows try if get frontmost of win is true then set cmd to "/usr/bin/" & item 1 of argv & " " & item 2 of argv & " " & item 3 of argv do script cmd in (selected tab of win) set custom title of (selected tab of win) to item 4 of argv end if end try end repeat end tell end run
Una vez configurado podremos acceder a las consolas utilizando los enlaces siguientes:
No hay comentarios:
Publicar un comentario