In mac or k8s this readdir method wait infinitely,in fedora is all right.
let mut session =
AsyncSession::<TokioTcpStream>::connect(SocketAddr::from((host, port)), None).await?;
session.handshake().await?;
session
.userauth_password(&config.user, &config.passwd)
.await?;
let stream = session.sftp().await?;
stream.readdir(&Path::new(path)).await?
```rust