Live data from Hacker News

Rtty – Access a device’s terminal from anywhere via the web

github.com

31–40 of 63 posts

Re: Rtty – Access a device’s terminal from anywhere via the web

#31
post #27
post #24

Earlier quoted context omitted.

What do you mean by that?

As an an example, at my work you cannot make any outbound ssh connection. The only way to get one is to apply for a specific connection , where you have to explain why you need an outbound connection, in which case they open a port for you and the remote machine you specified.

corkscrew?

Re: Rtty – Access a device’s terminal from anywhere via the web

#32
post #27
post #24

Earlier quoted context omitted.

What do you mean by that?

As an an example, at my work you cannot make any outbound ssh connection. The only way to get one is to apply for a specific connection , where you have to explain why you need an outbound connection, in which case they open a port for you and the remote machine you specified.

if it's just filtering of certain ports, you can just set your ssh port to 80 or 443

Re: Rtty – Access a device’s terminal from anywhere via the web

#33
post #7

Odd that the client is written in C, but the server in go. I'm curious as to why the author chose to do that (along with the artisan buffer implementation).

Probably because with C, you can control your resource better, which is important if your application is going to support low end router etc.

Re: Rtty – Access a device’s terminal from anywhere via the web

#34
post #32
post #27

Earlier quoted context omitted.

As an an example, at my work you cannot make any outbound ssh connection. The only way to get one is to apply for a specific connection , where you have to explain why you need an outbound connection, in which case they open a port for you and the remote machine you specified.

if it's just filtering of certain ports, you can just set your ssh port to 80 or 443

Yep, using 443 as your SSH port seems a good way of doing this. I do.

Re: Rtty – Access a device’s terminal from anywhere via the web

#35
post #27
post #24

Earlier quoted context omitted.

What do you mean by that?

As an an example, at my work you cannot make any outbound ssh connection. The only way to get one is to apply for a specific connection , where you have to explain why you need an outbound connection, in which case they open a port for you and the remote machine you specified.

I suggest learning how those filters work. Also please do respect the policies, they're usually there to protect the intellectual property and you might be unwittingly putting yourself in spotlight despite having no bad intentions.

Re: Rtty – Access a device’s terminal from anywhere via the web

#36
post #16

I‘m using ttyd ( https://github.com/tsl0922/ttyd ) behind an nginx reverse proxy with client certificates. This gives me access from locations where ports other than https are blocked.

Great tool, IMHO best web terminal app (it uses xterm.js).

Re: Rtty – Access a device’s terminal from anywhere via the web

#37
post #16

I‘m using ttyd ( https://github.com/tsl0922/ttyd ) behind an nginx reverse proxy with client certificates. This gives me access from locations where ports other than https are blocked.

This kind of tools is basically always less safe than straight SSH. This one specifically, by-passed the authenticator of your OS.

Yes, you can run `login` instead of a shell, but doing so require the tool to be executed as root, still sound bad.

I'd recommend to use a proxy that supports converting socket to Websocket(wss) and back, then you can by-pass the blockage from there. And since it's a proxy, it should not decrypt the SSH traffic.

Re: Rtty – Access a device’s terminal from anywhere via the web

#39
post #32
post #27

Earlier quoted context omitted.

As an an example, at my work you cannot make any outbound ssh connection. The only way to get one is to apply for a specific connection , where you have to explain why you need an outbound connection, in which case they open a port for you and the remote machine you specified.

if it's just filtering of certain ports, you can just set your ssh port to 80 or 443

In its simplest form, yes.

Anything more sophisticated will inspect the traffic and drop SSH connections no matter the port.

Re: Rtty – Access a device’s terminal from anywhere via the web

#40
post #27
post #24

Earlier quoted context omitted.

What do you mean by that?

As an an example, at my work you cannot make any outbound ssh connection. The only way to get one is to apply for a specific connection , where you have to explain why you need an outbound connection, in which case they open a port for you and the remote machine you specified.

Wouldn't you have to apply for permission for the article's solution for the exact same reason?

If not, then this seems like an exfiltration risk your security people should fix.

Post reply on HN