Friday, August 21, 2015

How to enable SFTP on NetApp filer

How to enable SFTP on NetApp filer

Follow the below mentioned steps to enable SFTP on netapp filer.

1. rdfile /etc/passwd
2. cifs passwd root
3. copy the encrypted password and replace with existing root password on /etc/passwd file.
4. options sftp
sftp.auth_style              unix
sftp.bypass_traverse_checking off
sftp.dir_override            /vol/vol0
sftp.dir_restriction         off
sftp.enable                  on
sftp.idle_timeout            900s       (value might be overwritten in takeover)
sftp.locking                 none
sftp.log_enable              on
sftp.log_filesize            512k
sftp.log_nfiles              6
sftp.max_connections         15         (value might be overwritten in takeover)
sftp.max_connections_threshold 75%        (value might be overwritten in takeover)
sftp.override_client_permissions off
5. options secu
security.admin.authentication nsswitch,internal
security.admin.nsswitchgroup
security.passwd.firstlogin.enable off
security.passwd.lockout.numtries 4294967295
security.passwd.rootaccess.enable on
security.passwd.rules.enable off
security.passwd.rules.everyone off
security.passwd.rules.history 0
security.passwd.rules.maximum 256
security.passwd.rules.minimum 8
security.passwd.rules.minimum.alphabetic 2
security.passwd.rules.minimum.digit 1
security.passwd.rules.minimum.symbol 0
6. options ssh
ssh.access                   *
ssh.enable                   on
ssh.idle.timeout             0
ssh.passwd_auth.enable       on
ssh.port                     22
ssh.pubkey_auth.enable       on
ssh1.enable                  off
ssh2.enable                  on

now try to connect.


No comments: