Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to access SFTP? #170

Open
huzhasan opened this issue Jan 11, 2025 · 1 comment
Open

How to access SFTP? #170

huzhasan opened this issue Jan 11, 2025 · 1 comment

Comments

@huzhasan
Copy link

huzhasan commented Jan 11, 2025

I have setup an ssh tunnel between my work machine and my home machine (both Windows) using Rospo on both ends with public and private keys. The tunnel gets established but I have a doubt. Can files be exchanged between both machines using the built-in put and get commands only, or is there an actual SFTP server running? I would really like to use an SFTP client to exchange files ..

(I have enabled disable_sftp_subsystem: false on the work machine, but I cannot access it using WinSCP or sftp using port 22 which I have tunneled and forwarded)

If an SFTP server is actually running, how can I specify a root folder for it? If only put and get can be used, what path does it read from?

@ferama
Copy link
Owner

ferama commented Jan 14, 2025

Yes there is actually an sftp server running and you should be able to use any sftp client

Don't have a windows machine at the moment but on my Mac:

# in a terminal
❯ rospo sshd -P :4444
# into another terminal
❯ sftp -P 4444 127.0.0.1

 .---------------.
 | 🐸 rospo sshd |
 .---------------.

Connected to 127.0.0.1.
sftp>

I used successfully FileZilla in the past to connect to rospo sshd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants