Actions100
- Project Actions
- Project Accept Project Invite
- Project Create Project Invite
- Project List Invites For Project
- Project Create Project
- Project Decline Project Invite
- Project Delete Project Avatar
- Project Request Project Avatar Upload
- Project Delete Project Invite
- Project Get Project Invite
- Project Delete Project Membership
- Project Get Project Membership
- Project Update Project Membership
- Project Delete Project
- Project Get Project
- Project Delete Server Avatar
- Project Request Server Avatar Upload
- Project Get Project Token Invite
- Project Get Self Membership For Project
- Project Get Server
- Project List Memberships For Project
- Project List Project Invites
- Project List Project Memberships
- Project List Projects
- Project List Servers
- Project Resend Project Invite Mail
- Project Update Project Description
- Project Update Server Description
- Storagespace Get Project Statistics
- Storagespace Get Server Statistics
- Storagespace Replace Project Notification Threshold
- Storagespace Replace Server Notification Threshold
- Backup Actions
- Backup Create Project Backup Export
- Backup Delete Project Backup Export
- Backup Create Project Backup Schedule
- Backup List Project Backup Schedules
- Backup Create Project Backup
- Backup List Project Backups
- Backup Delete Project Backup Schedule
- Backup Get Project Backup Schedule
- Backup Update Project Backup Schedule
- Backup Delete Project Backup
- Backup Get Project Backup
- Backup Update Project Backup Description
- SSH SFTP User Actions
- Cronjob Actions
- App Actions
- App Execute Action
- App Get App
- App Get Appinstallation
- App Patch Appinstallation
- App Uninstall Appinstallation
- App Get Appversion
- App Get Installed Systemsoftware For Appinstallation
- App Get Missing Dependencies For Appinstallation
- App Get Systemsoftware
- App Get Systemsoftwareversion
- App Link Database
- App List Appinstallations For User
- App List Appinstallations
- App Request Appinstallation
- App List Apps
- App List Appversions
- App List Systemsoftwares
- App List Systemsoftwareversions
- App List Update Candidates For Appversion
- App Replace Database
- App Request Appinstallation Copy
- App Retrieve Status
- App Unlink Database
- App Set Database Users
- Project File System Actions
- Contract Actions
Overview
This node operation updates an existing SSH SFTP user by modifying its properties such as activation status, description, expiration date, password, and public keys. It is useful in scenarios where you need to manage access control for SSH users dynamically, for example, enabling or disabling user accounts, updating credentials, or changing user metadata without manual intervention.
Practical examples include:
- Automatically deactivating SSH users after a certain period.
- Rotating passwords or updating public keys for enhanced security.
- Adding descriptive information to SSH user accounts for easier identification.
Properties
Name | Meaning |
---|---|
Ssh User Id | The unique identifier of the SSH user to be updated. |
Active | Boolean flag indicating whether the SSH user account is active (true ) or inactive (false ). |
Description | A textual description or note about the SSH user. |
Expires At | Expiration date/time for the SSH user account, typically in ISO 8601 string format. |
Password | New password to set for the SSH user. |
Public Keys | JSON array containing one or more public SSH keys associated with the user. |
Output
The node outputs JSON data representing the updated SSH user object as returned by the API. This typically includes all current properties of the SSH user after the update, such as ID, active status, description, expiration, password (likely omitted or masked), and public keys.
If the node supports binary data output, it would generally relate to key files or certificates, but based on the provided code and properties, this node focuses on JSON data only.
Dependencies
- Requires an API key credential for authentication with the mittwald mStudio API.
- The node uses the mittwald API base URL:
https://api.mittwald.de
. - The node depends on the
@devlikeapro/n8n-openapi-node
package for OpenAPI integration. - Proper configuration of the API credential within n8n is necessary for successful requests.
Troubleshooting
- Invalid SSH User Id: If the provided SSH User Id does not exist, the API will likely return a "not found" error. Verify the ID before running the node.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key is correctly configured.
- Malformed Public Keys JSON: The
Public Keys
property expects valid JSON. Invalid JSON syntax will cause parsing errors. Use proper JSON formatting. - Date Format Issues: The
Expires At
field should be in a valid date-time string format (e.g., ISO 8601). Incorrect formats may lead to API rejection. - Permission Denied: The API user must have sufficient permissions to update SSH users; otherwise, the request will fail.
Links and References
- mittwald mStudio API Documentation (official API docs)
- n8n OpenAPI Node Integration