Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure server #133

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Azure server #133

wants to merge 10 commits into from

Conversation

calvinp0
Copy link
Member

No description provided.

- A high-level representation of a session with an SSH server.
"""
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())

Check failure

Code scanning / CodeQL

Accepting unknown SSH host keys when using Paramiko High

Setting missing host key policy to AutoAddPolicy may be unsafe.
t3/runners/rmg_adapter.py Fixed Show fixed Hide fixed
if up_file['file_name'] == 'check.chk':
try:
shutil.copyfile(src=up_file['local'], dst=os.path.join(self.local_path, 'check.chk'))
except shutil.SameFileError:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.
timestamp = None
try:
timestamp = self._sftp.stat(remote_file_path_1).st_mtime
except IOError:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.
t3/utils/ssh.py Fixed Show fixed Hide fixed
t3/utils/ssh.py Fixed Show fixed Hide fixed
t3/utils/ssh.py Fixed Show fixed Hide fixed
t3/runners/rmg_adapter.py Fixed Show fixed Hide fixed
t3/runners/rmg_adapter.py Fixed Show fixed Hide fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant