(01-16-2018, 01:52 AM)CMs222 Wrote: tried to login as root using winscp and does not allow
os is ubuntu and iyou cannot ssh as root. have to login as username created when install then sudo -i to change to root.
how can i do the same with winscp ???
i keep getting permission denied when trying to access certain folders
For security sake, when you set up SSH for using WinSCP, use secure keys instead of a username and password combination. It will allow your communications to the server to be easily made AND it will mean everything passed on SSH is encrypted. This prevents a "man in the middle" attack stealing your credentials. It also puts an end to worrying about someone successfully running a "brute force attack" on port 22 - although they will continue to try. (See Fail2ban)
There are tutorials all over the net on how to do this with on Unix (AKA Linux) OS'es. Use your favorite browser to find an appropriate tutorial.
Everyone makes mistakes, but to truly screw up it takes the root password!