Skip to content

Commit

Permalink
Use printf to display SSH
Browse files Browse the repository at this point in the history
  • Loading branch information
danhigham committed Jan 18, 2015
1 parent 8d1ea3a commit 54607c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Binary file modified install.sh
Binary file not shown.
3 changes: 1 addition & 2 deletions install.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ start_command=$(start_cmd /home/vcap/staging_info.yml)
$HOME/bin/tmate -S /tmp/tmate.sock send-keys -t "$main_pane" 'stty_orig=`stty -g`; stty -echo; ps_orig=`echo $PS1`; PS1=""' Enter

$HOME/bin/tmate -S /tmp/tmate.sock send-keys -t "$main_pane" 'cat $HOME/banner.txt' Enter
$HOME/bin/tmate -S /tmp/tmate.sock send-keys -t "$main_pane" "echo \"$sshcmd\"" Enter
$HOME/bin/tmate -S /tmp/tmate.sock send-keys -t "$main_pane" "" Enter
$HOME/bin/tmate -S /tmp/tmate.sock send-keys -t "$main_pane" "printf \"$sshcmd\n\n\"" Enter

$HOME/bin/tmate -S /tmp/tmate.sock send-keys -t "$main_pane" 'stty $stty_orig; PS1="$ps_orig "' Enter

Expand Down

0 comments on commit 54607c6

Please sign in to comment.