authentication_kwargs = dict()
authentication_kwargs["password"] = password
sftp = fsspec.filesystem("sftp", host=host, port=port, username=username,**authentication_kwargs)
This is how I connect to sftp using host, port, username and password.
How can I use proxy host and proxy port here?
example: proxy host: proxy.abo.quinn.co proxy port: 8081
You can do this by sub-classing the SFTPFileSystem class, overloading it's _connect method and using a paramiko.Transport to create the connection (which supports proxies):
You should then be able to use below code snippet to connect to an sftp server using a proxy: