Skip to content

Commit

Permalink
osfv_cli/osfv_cli/rte.py: set ssh.connect() flag look_for_keys to false
Browse files Browse the repository at this point in the history
Signed-off-by: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
  • Loading branch information
tym2k1 authored and macpijan committed Jun 11, 2024
1 parent 3471262 commit f21bc3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion osfv_cli/osfv_cli/rte.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,12 @@ def flash_cmd(self, args, read_file=None, write_file=None):

try:
# Connect to the SSH server
ssh.connect(self.rte_ip, username=self.SSH_USER, password=self.SSH_PWD)
ssh.connect(
self.rte_ip,
username=self.SSH_USER,
password=self.SSH_PWD,
look_for_keys=False,
)

if write_file:
scp = ssh.open_sftp()
Expand Down

0 comments on commit f21bc3f

Please sign in to comment.