Install & Compatibility
Where this runs
tested against v0.29.10 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 3.048s · 155.4MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 14.1s · import 2.800s · 150MB
158MB installed
● package 158MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
SSHResource
✓ from dagster_ssh import SSHResource
✗ from dagster_ssh.resources import SSHResource
SSHResource was moved to top-level import in 0.15.0; the old path may still work but is deprecated.
SSHIOManager
✓ from dagster_ssh import SSHIOManager
✗ from dagster_ssh.io_manager import SSHIOManager
SSHIOManager is directly exposed from dagster_ssh since 0.16.0.
Configure an SSH resource with environment variables for credentials.
from dagster_ssh import SSHResource
ssh_resource = SSHResource(
remote_host=os.environ.get('SSH_HOST', ''),
remote_port=22,
username=os.environ.get('SSH_USERNAME', ''),
password=os.environ.get('SSH_PASSWORD', ''),
key_file=os.environ.get('SSH_KEY_FILE', None),
)
print('SSH resource configured successfully.')
Errors
Common errors & fixes
ImportError: cannot import name 'SSHResource' from 'dagster_ssh'
The old import path `from dagster_ssh.resources import SSHResource` no longer works in dagster-ssh >=0.15.0.
fixUse `from dagster_ssh import SSHResource` instead.
ModuleNotFoundError: No module named 'paramiko'
The `paramiko` library is a required dependency that is not automatically installed with dagster-core, but it is bundled with dagster-ssh. If using a minimal installation, you may be missing it.
fixInstall dagster-ssh with `pip install dagster-ssh` (includes paramiko).
paramiko.ssh_exception.AuthenticationException: Authentication failed.
SSHResource configured with incorrect credentials or key file path.
fixVerify SSH credentials in environment variables or key_data contents. For key-based auth, ensure `key_data` (or `key_file`) corresponds to a valid private key. Try connecting manually via `ssh` command.
Upgrade
Version history
0.29.10latest on PyPI · released Jun 18, 2026
Audit
Dependencies
dagsterrequiredCore dependency for Dagster integrations
paramikorequiredSSH protocol implementation