SSH server doesn’t behave properly for git and scp usage, it doesn’t exit the connection.
I would expect the ssh server to support being used with scp and git cloning
scp my-repl.repl.co:README.md . I get the following output and then it hangs
Welcome to the Replit SSH Proxy. Visit https://docs.replit.com/power-ups/ssh to learn more about SSH on Replit. README.md 100% 14KB 32.9KB/s 00:00
git clone my-repl.repl.co:/home/runner/my-repl it starts to download everything and then it hangs:
Cloning into 'my-repl'... Welcome to the Replit SSH Proxy. Visit https://docs.replit.com/power-ups/ssh to learn more about SSH on Replit. remote: Enumerating objects: 14848, done. remote: Counting objects: 100% (14848/14848), done. remote: Compressing objects: 100% (14177/14177), done. remote: Total 14848 (delta 590), reused 14813 (delta 571), pack-reused 0 Receiving objects: 100% (14848/14848), 48.30 MiB | 1.85 MiB/s, done. Resolving deltas: 100% (590/590), done.
Steps to reproduce:
- Enable SSH server in repl, try one of the above commands. I believe the server should also close the session when running
ssh -T my-repl.repl.cobut I’m a bit unsure.
Bug appears at this link: