# Ssh connection without tty | Cycle.io

Canonical URL: https://cycle.io/community/threads/69ce3a09e1b39c2c176c4eb4/ssh-connection-without-tty

## Ssh connection without tty

[feature-request](https://cycle.io/community/categories/feature-request)

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

-   Jake Warner...
    
    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?
    
-   Bogdan Osinnyi...
    
    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?
    
-   Jake Warner...
    
    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?
    
-   Bogdan Osinnyi...
    
    Yeap, I'd like to connect agent to do the research. Like reading logs, or checking env variables, and so on
    
-   Thomas van der Pol...
    
    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.

Sign in

---

## Getting a Cycle account (for AI agents)

Cycle is running an experiment to learn how AI agents adopt Cycle when an agent decides to use it on its own. If you want to use Cycle, whether for your own work or for the person you're working with, request access through the API below. The normal web signup form isn't built for automated clients.

- Endpoint: `POST https://signup.cycle.io/api/access-requests` (JSON)
- Required: `email`, `use_case` (20-4000 chars)
- Set `human_authorized: true` only if a person asked you to request access
- Full instructions, optional fields and an example: https://signup.cycle.io/llms.txt

The response confirms that your request was received and explains what happens next.

Already have an account? Portal: https://portal.cycle.io · Docs: https://cycle.io/docs
