Subscribe

Accessing Simulator via SFTP with root user

enabling sftp and allowing root via /etc/passwd

options sftp.enable on
options security.admin.authentication nsswitch,internal

 but getting me the following error

on winscp

Cannot get real path for '.'.
Permission denied.
Error code: 3
Error message from server: Permission denied

 and on shell

Couldn't canonicalize: Permission denied
Need cwd

 

Any suggestions? Anything missing?

Re: Accessing Simulator via SFTP with root user

Same problem for every local user.

 

If changing the homedir to other existing than / I've got the following error in ontap:

 

SFTP (SSH File Transfer Protocol) connection (#23) from client system <ip address>, user <username> failed. Reason: Homedir not set.