I am having issue to access /etc folder using SFTP for adminitration purpose.
The controller is runing 7-mode 8.1.4p1 with NFS licensed and I used the following page as guidancehttps://kb.netapp.com/support/index?page=content&id=1012617
However, when I tried to connect to the controller by WinSCP/Filezilla, the storage console returned the following messages, and then SFTP connection creation failed.
[controller01: sshd_1:error]: error: Disconnecting: SFTP connection creation failed
[controller01:sftp.connection.setup.failed:error]: SFTP (SSH File Transfer Protocol) connection (#72) from client system xx.xx.xx.xx, user sftpuser failed. Reason: Homedir not set
In /etc/passwd, I have created a new sftpuser and specified the the homedirectory /etc:
Also checked by getXXbyYY getpwbyname_r
pw_dir = /etc
options sftp.auth_style unix
options sftp.dir_override (null)
options sftp.enable on
All other controllers are working...except this one, I tried to compare the settings, re-configured SFTP, created new sftp users, sftp.dir_override directory, but none of them works.
Thanks in advanced.