-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Description
when I try to connect to a server with async_ssh with the sftp command then I get the following error
`from asyncssh import connect
import asyncio
sftp_conn_options = {
"host": "EXAMPLE HOST",
"username": "EXAMPLE USER",
"password": "EXAMPLE PASS",
"known_hosts": None,
"port": 22,
}
async def main():
async with connect(**sftp_conn_options) as conn:
async with conn.start_sftp_client() as sftp:
listed_files = await sftp.listdir(".")
print(listed_files)
if name == "main":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
ERROR
raise SFTPBadMessage('Unsupported attribute flags: 0x%08x' %
asyncssh.sftp.SFTPBadMessage: Unsupported attribute flags: 0x00000010`
Metadata
Metadata
Assignees
Labels
No labels