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

Disable strict host key checking for scp #3100

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

rotu
Copy link
Contributor

@rotu rotu commented Jan 24, 2025

Prevents errors like:

2025-01-24 22:26:11.566 | DEBUG    | commonwealth.utils.commands:upload_file:137 - uploading to /boot/firmware/config.txt
2025-01-24 22:26:11.664 | DEBUG    | commonwealth.utils.commands:upload_file:145 - CompletedProcess(args=['scp', '-i', '/root/.config/.ssh/id_rsa', '/tmp/file_to_upload', 'pi@localhost:/tmp/uploaded_file'], returncode=255, stdout='', stderr='ssh: connect to host localhost port 22: Connection refused\nscp: Connection closed\n')
2025-01-24 22:26:11.665 | ERROR    | commonwealth.utils.commands:upload_file:149 - Failed to upload file: ssh: connect to host localhost port 22: Connection refused
scp: Connection closed

Prevents errors like:
```
2025-01-24 22:26:11.566 | DEBUG    | commonwealth.utils.commands:upload_file:137 - uploading to /boot/firmware/config.txt
2025-01-24 22:26:11.664 | DEBUG    | commonwealth.utils.commands:upload_file:145 - CompletedProcess(args=['scp', '-i', '/root/.config/.ssh/id_rsa', '/tmp/file_to_upload', 'pi@localhost:/tmp/uploaded_file'], returncode=255, stdout='', stderr='ssh: connect to host localhost port 22: Connection refused\nscp: Connection closed\n')
2025-01-24 22:26:11.665 | ERROR    | commonwealth.utils.commands:upload_file:149 - Failed to upload file: ssh: connect to host localhost port 22: Connection refused
scp: Connection closed
```
@patrickelectric patrickelectric merged commit 4535bd6 into bluerobotics:master Jan 25, 2025
6 checks passed
@rotu rotu deleted the patch-10 branch January 25, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants