diff --git a/libkirk/channels/ssh.py b/libkirk/channels/ssh.py index 185bc08..c7e9974 100644 --- a/libkirk/channels/ssh.py +++ b/libkirk/channels/ssh.py @@ -355,7 +355,10 @@ async def run_command( # pyrefly: ignore[missing-attribute] channel, session = await self._conn.create_session( - lambda: MySSHClientSession(iobuffer), cmd + lambda: MySSHClientSession(iobuffer), + cmd, + encoding="utf-8", + errors="ignore", ) self._channels.append(channel)