Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerFlex Manager 4.6.x CLI Reference Guide

PDF

Modify file FTP server

Modify FTP or SFTP server settings.

Syntax

powerflex_cli file-ftp-servers modify [parameters]

Parameters

-h, --help
Help for modifying FTP or SFTP server
--add_groups [string]
Groups to add to the current groups. Error occurs if the group already exists. Cannot be combined with groups.
--add_hosts [string]
Host IP addresses to add to the current hosts. The addresses may be IPv4 or IPv6. Error occurs if the IP address already exists. Cannot be combined with hosts.
--add_users [string]
Users to add to the current users. Error occurs if the user already exists. Cannot be combined with users.
--audit_dir [string]
Directory of FTP/SFTP audit files. Logs are saved in '/' directory (default) or in a mounted file system (Absolute path of the file system directory which should already exist). It is applicable when the value of is_audit_enabled is true.
--audit_max_size [string]
Applies when the value of is_audit_enabled is true. Maximum size of all (current plus archived) FTP/SFTP audit files, in bytes. There is a maximum of five audit files, one current audit file (ftp.log) and four archived audit files. The maximum value for this setting is 5GB (each file of 1GB) if the audit directory belongs to a user file system of the PowerFlex file node. If the audit directory is '/', the maximum value is 5MB (each file of 1MB). The minimum value is 40kB (each file of 8KB) on any file system.
--default_homedir [string]
Default directory of FTP and SFTP clients that have a home directory which is not defined or accessible. Applies when the value of is_homedir_limit_enabled is false.
--groups [string]
Allowed or denied user groups, depending on the value of the is_allowed_groups attribute.
  • If allowed groups exist, only users who are members of these groups and no others can connect to the PowerFlex file node through FTP or SFTP.
  • If denied groups exist, all users who are members of those groups always have access denied to the PowerFlex file node through FTP or SFTP.
  • If the list is empty, there is no restriction to the PowerFlex file node access through FTP or SFTP based on the user group.
--hosts [string]
Allowed or denied hosts, depending on the value of the is_allowed_hosts attribute. A host is defined using its IP address. Subnets using CIDR notation are also supported.
  • If allowed hosts exist, only those hosts and no others can connect to the PowerFlex file node through FTP or SFTP.
  • If denied hosts exist, they always have access denied to the PowerFlex file node through FTP or SFTP.
  • If the list is empty, there is no restriction to PowerFlex file node access through FTP or SFTP based on the host IP address.
  • The addresses may be IPv4 or IPv6.
--id [string]
Unique identifier of the FTP/SFTP server object.
--is_allowed_groups [string]
Indicates whether the activity of FTP and SFTP clients is tracked in audit files. Values are:
  • true—groups contains allowed user groups.
  • false—groups contains denied user groups.
--is_allowed_hosts [string]
Indicates whether the hosts attribute contains allowed or denied hosts. Values are:
  • true—hosts contains allowed hosts.
  • false—hosts contains denied hosts.
--is_allowed_users [string]
Indicates whether the users attribute contains allowed or denied users. Values are:
  • true—users contains allowed users.
  • false—users contains denied users.
--is_anonymous_authentication_enabled [string]
Indicates whether FTP clients can be authenticated anonymously. Values are:
  • true—Anonymous user name is accepted.
  • false—Anonymous user name is not accepted.
--is_audit_enabled [string]
Indicates whether the activity of FTP and SFTP clients is tracked in audit files. Values are:
  • true—FTP/SFTP activity is tracked.
  • false—FTP/SFTP activity is not tracked.
--is_ftp_enabled
Indicates whether the FTP server is enabled on the PowerFlex file node specified in the nasServer attribute. Values are:
  • true—FTP server is enabled on the specified PowerFlex file node.
  • false—FTP server is disabled on the specified PowerFlex file node.
--is_homedir_limit_enabled
Indicates whether an FTP or SFTP user access is limited to the home directory of the user. Values are:
  • true—An FTP or SFTP user can access only the home directory of the user.
  • false—FTP and SFTP users can access any PowerFlex file node directory, according to PowerFlex file node permissions.
--is_sftp_enabled
Indicates whether the SFTP server is enabled on the PowerFlex file node specified in the nasServer attribute. Values are:
  • true—SFTP server is enabled on the specified PowerFlex file node.
  • false—SFTP server is disabled on the specified PowerFlex file node.
--is_smb_authentication_enabled
Indicates whether FTP and SFTP clients can be authenticated using an SMB user name. These user names are defined in a Windows domain controller, and their formats are user@domain or domain\user. Values are:
  • true—SMB user names are accepted for authentication.
  • false—SMB user names are not accepted for authentication.
--is_unix_authentication_enabled
Indicates whether FTP and SFTP clients can be authenticated using a UNIX user name. UNIX user names are defined in LDAP, NIS servers or in local passwd file. Values are:
  • true—UNIX user names are accepted for authentication.
  • false—UNIX user names are not accepted for authentication.
--message_of_the_day [string]
Message of the day displayed on the console of FTP clients after their authentication. The length of this message is limited to 511 bytes of UTF-8 characters, and the length of each line is limited to 80 bytes.
--remove_groups [string]
Groups to remove from the current groups. Error occurs if the group is not present. Cannot be combined with groups.
--remove_hosts [string]
Host IP addresses to remove from the current hosts. The addresses may be IPv4 or IPv6. Error occurs if the IP address is not present. Cannot be combined with hosts.
--remove_users [string]
Users to remove from the current users. Error occurs if the user is not present. Cannot be combined with users.
--users [string]
Allowed or denied users, depending on the value of the is_allowed_users attribute.
  • If allowed users exist, only those users and no others can connect to the PowerFlex file node through FTP or SFTP.
  • If denied users exist, they always have access denied to the PowerFlex file node through FTP or SFTP.
  • If the list is empty, there is no restriction to the PowerFlex file node access through FTP or SFTP based on the user name.
--welcome_message [string]
Welcome message displayed on the console of FTP and SFTP clients before their authentication. The length of this message is limited to 511 bytes of UTF-8 characters, and the length of each line is limited to 80 bytes.
--session name [string]
Session name. The default name is "default".
--session token [string]
Secret session token.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\