Hello Thanks for the advice.
Restructuring the yaml fixed most of the settings, trying to figure out the difference between attributes and parameters . We will look into the various proposals. If you have or can point to any good examples let me know? Vh Jesper From: Nick Couchman <[email protected]> Sent: 11. november 2025 12:35 To: [email protected] Subject: Re: connection automation [EKSTERN E-MAIL] Denne e-mail er sendt fra en ekstern afsender. Vær opmærksom på, at den kan indeholde links og vedhæftede filer, som ikke er sikre. On Tue, Nov 11, 2025 at 4:48 AM Jesper Vingum Mortensen <[email protected]<mailto:[email protected]>> wrote: Hi again Thanks for the quick response We have been trying our luck with yaml and the import option, this is a single connection. Now the name and the groups are ok, and also the hostname, port, Username and private key. The max connections, screen recording and sftp settings remains untouched. --- - name: test3connection protocol: ssh parameters: hostname: 0.0.0.0 port: 22 username: guac private-key: ${GUAC_PRIVATE_KEY} max-connections: 2 max-connections-per-user: 2 passphrase: "" parentIdentifier: "" screen-recording: recording-path: ${HISTORY_PATH}/${HISTORY_UUID} recording-include-key-events: true create-recording-path: true SFTP: enable-sftp: true sftp-disable-upload: true sftp-disable-download: false group: ROOT/testgr3/Child Group 11 I guess we were hoping for a quick solution, but we will look into the other options you mentioned. Thanks in advance. A couple of things that I notice: * max-connections and max-connections-per-user are not connection *parameters*, they are connection *attributes*, so they're likely in the wrong section. * The YAML import function isn't aware of the "sections" of parameters that appear in the GUI - "screen-recording:" and "SFTP:" are meaningless with regard to the import and are likely causing the issue you're seeing. All of the connection parameters should be at the same YAML level. Here's a quick example: --- - name: test3connection protocol: ssh attributes: max-connections: 2 max-connections-per-user: 2 parameters: hostname: 1.2.3.4 port: 22 username: guac private-key: ${GUAC_PRIVATE_KEY} passphrase: "" recording-path: ${HISTORY_PATH}/${HISTORY_UUID} recording-including-key-events: true create-recording-path: true enable-sftp: true sftp-disable-upload: true sftp-disable-download: false group: ROOT/testgr3/Child Group 11 If you haven't visited the manual page on connection imports, already, you might find it helpful - or it may need some slightly more advanced examples added to it :-): https://guacamole.apache.org/doc/gug/batch-import.html#yaml-format -Nick
