-
-
Save Licenser/d0facb6eab4bc5c758d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(with-session "user" "pass" "host" | |
(with-shell | |
(println (shell-read-all)) | |
(shell-exec "exec bash") | |
(shell-exec "export PS1=\"\\h:\\w# \"") | |
(println (shell-exec "ls")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment