Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

SSH key Redmine

Scheduled Pinned Locked Moved Solved Redmine
4 Posts 3 Posters 320 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Neluser
    wrote on last edited by girish
    #1

    su - cloudron
    ssh-keygen # generates keys under ~/.ssh. keys are part of the backup

    Hello, I am creating an SSH key in redmine. But I can’t understand how I can add it to the application.
    Can you tell me the sequence of actions or am I doing something wrong?
    Thank.

    ~nano /home/cloudron/.ssh/authorized_keys
    Unable to create directory /home/cloudron/.local/share/nano/: No such file or directory
    It is required for saving/loading search history or cursor positions.

    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #2

    Hm looks like the nano editor is not working well on those images, however I've just tried it and that appears to only be a warning. Good thing, our next release will contain a webbased fileeditor for such use-cases.

    For SSH keys we have some brief info at https://cloudron.io/documentation/apps/redmine/#ssh-keys

    N 1 Reply Last reply
    1
  • N Offline
    N Offline
    Neluser
    replied to nebulon on last edited by
    #3

    @nebulon
    I tried to install the key. But the server rejects it. Maybe SSH needs to be turned on somewhere else?
    (Test server)
    Thanks.

    23.png

    root@648fb8c3-7036-4791-91df-ded72cac86d9:/app/code# su - cloudron
    cloudron@648fb8c3-7036-4791-91df-ded72cac86d9:~$ ssh-keygen
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/cloudron/.ssh/id_rsa): /home/cloudron/.ssh/id_rsa
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /home/cloudron/.ssh/id_rsa.
    Your public key has been saved in /home/cloudron/.ssh/id_rsa.pub.
    The key fingerprint is:
    SHA256:RKlm+iSN2csiHmH4wy04jvVyDRrTmr2VghiPIYbLu4o cloudron@648fb8c3-7036-4791-91df-ded72cac86d9
    The key's randomart image is:
    +---[RSA 2048]----+
    | .. |
    | .. |
    | .. |
    |.. +. |
    |.o. O S |
    |+%o+B +. |
    |
    .XBoBo. |
    |+oB=+o= |
    |E=o+oo |
    +----[SHA256]-----+
    cloudron@648fb8c3-7036-4791-91df-ded72cac86d9:~$ ssh-copy-id cloudron@111.testu1.duckdns.org
    /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/cloudron/.ssh/id_rsa.pub"
    The authenticity of host '111.testu1.duckdns.org (93.127.3.75)' can't be established.
    RSA key fingerprint is SHA256:dkZf4Sb4x9pbvAFEG5f5M0ReNPGjSv6oUmz11gZJ0Fo.
    Are you sure you want to continue connecting (yes/no)? yes
    /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
    /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
    cloudron@111.testu1.duckdns.org's password:
    Received disconnect from 93.127.3.75 port 22:11: auth timeout
    Disconnected from 93.127.3.75 port 22
    cloudron@648fb8c3-7036-4791-91df-ded72cac86d9:~$ ssh cloudron@111.testu1.duckdns.org
    cloudron@111.testu1.duckdns.org's password:
    Permission denied, please try again.
    cloudron@111.testu1.duckdns.org's password:

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by girish
    #4

    @Neluser I am not really following what's happening. Is the issue that ssh-copy-id cloudron@111.testu1.duckdns.org fails? What is that server? Does it have a user named cloudron ?

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.