Ssh connection without tty
I'd like to have an ability to use ssh from my own laptop, sending bash commands. But currently there is only possible to connect to the machine and execute withing attached terminal
Hi Bogdan,
Can you add a little more context to this? The 'Gain SSH Access' button uses a proxy service to allow SSH connectivity. We don't support subsystems related to file transfers, etc, as the service is built exclusively for instance management.
Is there something you're looking to do that you can't?
sshpass -p PASSWORD ssh -p 22 DOMAIN "echo TEST" => # Initializing tunnel ... exec request failed on channel 0
So how to execute command via ssh on remote server?
Ah, yes, we don't support the sub channel necessary for piped commands. Plus, that would kinda encourage adoption of some anti-patterns.
Can you share some context to your use case?
Yeap, I'd like to connect agent to do the research. Like reading logs, or checking env variables, and so on
I currently work around this in our tooling in a pretty fragile way, would love to be able to pipe commands directly.
Join the conversation
Sign in with your Cycle account to reply to this thread.