https://linen.dev logo
Join Discord
Powered by
# general
  • t

    Tye

    10/06/2022, 9:08 PM
    So ifni connect tobyhe vps and coder ssh
  • t

    Tye

    10/06/2022, 9:08 PM
    My workspace
  • t

    Tye

    10/06/2022, 9:09 PM
    It would ssh butbi cant edit file like properly codr
  • k

    Kot

    10/06/2022, 9:57 PM
    you should be able to connect with the hostname shown here
  • k

    Kot

    10/06/2022, 9:57 PM
  • a

    auré

    10/06/2022, 10:07 PM
    hi, on fresh install inside a 22.04 LTS ubuntu server updated, coder agent is not working. (using deb package, latest version)
    Copy code
    status:
    ⦿ Connecting
    os:
    Linux
    version:
    (unknown)
    Config file here
    Copy code
    CODER_TUNNEL=false
    
    # Option 2) Set an access URL
    # e.g. https://coder.example.com
    CODER_ACCESS_URL=https://server-paris.synology.me:443
    
    CODER_ADDRESS=0.0.0.0:443
    CODER_PG_CONNECTION_URL=
    CODER_TLS_CERT_FILE=/etc/coder.d/cert/cert.pem
    CODER_TLS_ENABLE=true
    CODER_TLS_KEY_FILE=/etc/coder.d/cert/privkey.pem
    It seems to be a network issue, any ideas ?
    b
    • 2
    • 1
  • t

    Tye

    10/07/2022, 5:18 AM
    Hi kot, What port does the container run on. Becuase code is on cps and not at home
  • p

    Phorcys

    10/07/2022, 5:20 AM
    you are not listening
  • p

    Phorcys

    10/07/2022, 5:20 AM
    the containers don't have any SSH port
  • t

    Tye

    10/07/2022, 5:20 AM
    Ah
  • p

    Phorcys

    10/07/2022, 5:20 AM
    do ``coder config-ssg``
  • p

    Phorcys

    10/07/2022, 5:21 AM
    then whenever you SSH coder will proxy the SSH traffic to the containers using the coder agent
  • t

    Tye

    10/07/2022, 5:21 AM
    When i did coder ssh coder.heli dev
  • p

    Phorcys

    10/07/2022, 5:21 AM
    no
  • t

    Tye

    10/07/2022, 5:21 AM
    Vscode could notmconnect
  • p

    Phorcys

    10/07/2022, 5:21 AM
    that's normal
  • t

    Tye

    10/07/2022, 5:21 AM
    O
  • p

    Phorcys

    10/07/2022, 5:21 AM
    go to the tab where it lists your hosts
  • p

    Phorcys

    10/07/2022, 5:21 AM
    connect from there
  • p

    Phorcys

    10/07/2022, 5:22 AM
    or enter ``ssh coder.`` when it prompts you for the command
  • p

    Phorcys

    10/07/2022, 5:22 AM
    ``coder ssh`` is only for the command line
  • t

    Tye

    10/07/2022, 5:22 AM
    I did what u sud but it fails
  • p

    Phorcys

    10/07/2022, 5:25 AM
    can you show me?
  • t

    Tye

    10/07/2022, 6:09 AM
    I qm on phone but it says connection failed retry.
  • t

    Tye

    10/07/2022, 6:09 AM
    It would not work anyways
  • t

    Tye

    10/07/2022, 6:10 AM
    I am not connected to the internet as coder. As i said it is in q eemote lication and it is a vps
  • p

    Phorcys

    10/07/2022, 6:29 AM
    that doesn't matter
  • p

    Phorcys

    10/07/2022, 6:29 AM
    it's the point
  • p

    Phorcys

    10/07/2022, 6:30 AM
    could you try running ``coder ssh ``?
  • t

    Tye

    10/07/2022, 6:51 AM
    On my home pc?
1...232425...96Latest