Skip to content

Commit

Permalink
message fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiri Otoupal committed Oct 30, 2023
1 parent 7e8228a commit 039407f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions abst/bastion_support/oci_bastion.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,9 +576,10 @@ def __run_ssh_tunnel(self, ssh_tunnel_arg_str, shell, already_split=False):
rich.print(
f"({self.get_print_name()}) "
f"Please check you configuration, for more info use --debug flag")
rich.print("[red]If this continues to happen without connection it can be because ip changed in ["
"yellow]~/.ssh/known_hosts[/yellow], delete it and"
" try again[/red]")
if self.tries <= 5:
rich.print("[red]If this continues to happen without connection it can be because ip changed in ["
"yellow]~/.ssh/known_hosts[/yellow], delete it and"
" try again[/red]")
if self.tries <= 0:
self.kill()
self.current_status = "Failed"
Expand Down

0 comments on commit 039407f

Please sign in to comment.