Simulator Discussions

Accessing Simulator via SFTP with root user

MEGSKYWALKER
3,395 Views

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?

1 REPLY 1

MEGSKYWALKER
3,311 Views

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.

 

 

Public