ferama / rospo Goto Github PK
View Code? Open in Web Editor NEW🐸 Simple, reliable, persistent ssh tunnels with embedded ssh server
License: MIT License
🐸 Simple, reliable, persistent ssh tunnels with embedded ssh server
License: MIT License
I used to do something like this for forwarding ssh ports
ssh -R 2000:localhost:3000 [email protected]
and enter password in command prompt
how can i do this with rospo, i tried revshell including "-i" option but it expects authorized keys
I want to login with username and password. Is it possible to do this with rospos? if yes can you share the steps.
Hello!
In this config example https://github.com/ferama/rospo/blob/main/cmd/configs/config_template.yaml I see it's possible to set identity file.
identity: "~/.ssh/id_rsa"
Is it possible to set password for the identity file if it's encrypted?
For example, use rospo get
or rospo put
like rospo run xxx.yaml
.
I am serving a simple Node JS app on windows machine, then tunnel those port on public server. When accessing those port, it is showing HTTP error 408 initially, but success on subsequent request.
~# wget "http://127.0.0.1:30005/"
--2023-09-21 10:17:14-- http://127.0.0.1:30005/
Connecting to 127.0.0.1:30005... connected.
HTTP request sent, awaiting response... 408 Request Timeout
2023-09-21 10:17:14 ERROR 408: Request Timeout.
~# wget "http://127.0.0.1:30005/"
--2023-09-21 10:17:17-- http://127.0.0.1:30005/
Connecting to 127.0.0.1:30005... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23 [text/html]
Saving to: ‘index.html.1’
index.html.1 100%[===================>] 23 --.-KB/s in 0s
2023-09-21 10:17:17 (3.38 MB/s) - ‘index.html.1’ saved [23/23]
Hi,
I tested to compile rospo for OpenWRT devices, and it works!
So I suggest to add these targets inside the build.sh
script:
### multi arch binary build
GOOS=linux GOMIPS=softfloat GOARCH=mips build
GOOS=linux GOMIPS=softfloat GOARCH=mipsle build
Regards.
Hi! can rospo create dynamic tunnels? For proxy
Using the official version of rospo-windows-amd64.exe 0.11.6 latest version, running it on individual Windows 7 systems may result in errors:
[fatal error: kernel32.DLL not found]
[Runtime: panic before malloc heap initialized]
But if you download the source code and use go 1.20.12 to compile the generated Win64 program, it will work normally. Did the official use any parameters during compilation?
Hi @ferama ,
From this code:
Lines 13 to 14 in af1bc6f
I assume that a simple http://127.0.0.1:8090/
will get a "nice UI". However, any GET to "/" responses with a 404 Error. I can only obtain responses using the API with /api/tuns
, /api/stats
and /api/info
. Please could you document the webui more?
Thank you.
Hi
I'm trying to get workig rospo as a reverse tunnel to listening on the remote side on other than localhost:
rospo tun reverse -l 127.0.0.1:19898 -r 10.10.10.10:29898 [email protected]:22
It's working with autossh, but with rospo it listening only on 127.0.0.1:29898
What am I missing ?
Thanks
Levi
Hi, I was testing rospo and had some questions:
If you run rospo
with the following yaml:
# the ssh client configuration
sshclient:
# OPTIONAL: private key path. Default to ~/.ssh/id_rsa
identity: "~/.ssh/id_ed25519"
# REQUIRED: server url
server: [email protected]:8001
# OPTIONAL: Known hosts file path. Ignored if insecure is set to true
known_hosts: "~/.ssh/known_hosts"
# OPTIONAL: if the check against know_hosts is enabled or not
# default insecure false
insecure: false
# OPTIONAL: list of jump hosts hop to traverse
# comment the section for a direct connection
jump_hosts:
- uri: [email protected]:8000
# OPTIONAL: private key path. Default to ~/.ssh/id_rsa
identity: "~/.ssh/another_id_ed25519"
It will connect to port 8000 with ~/.ssh/id_ed25519
, but the identity should be ~/.ssh/another_id_ed25519
.
I use rospo tun forward
on my windows laptop to forward a port to remote android device. But it doesn't work and I don't know why.
If I use rospo tun forward
on wsl, it works. If I use rospo tun forward
on wsl and connect from my windows, it doesn't work too.
I don't know whether it is my error or some bug in rospo.
Hi,
I want to know if rospo can work like autossh. That's executing in a loop maintainning a persistent SSH tunnel.
Please, could you clarify this?
Thank you.
SHA-256 or MD5 are both acceptable
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x40 pc=0xae5ea2]
goroutine 1 [running]:
github.com/ferama/rospo/cmd.init.1()
github.com/ferama/rospo/cmd/grabpubkey.go:15 +0x62
I think it is better to use os.Getwd or empty string as a fallback.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.