You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: remove with_host and with_host_and_port methods from SshCredentials
- Removed SshCredentials::with_host() method
- Removed SshCredentials::with_host_and_port() method
- Updated all callers to use SshConnection constructors directly:
- Use SshConnection::with_default_port() for default port 22
- Use SshConnection::new() with SocketAddr for custom ports
- Cleaned up unused imports in credentials.rs
- Updated imports in affected files to include SshConnection
- All tests pass and linting is clean
This simplifies the API by removing duplicate functionality and makes
socket address creation explicit in the calling code.
0 commit comments